root@dvm-desktop:/home/dvm# cdecl
Type `help' or `?' for help
cdecl> ?
[] means optional; {} means 1 or more; <> means defined elsewhere
commands are separated by ';' and newlines
command:
declare
cast
explain
set or set options
help, ?
quit or exit
english:
function [(
array [
[{ const | volatile | noalias }] pointer to
type:
{[
{ struct | union | enum }
decllist: a comma separated list of
name: a C identifier
gibberish: a C declaration, like 'int *x', or cast, like '(int *)x'
storage-class: extern, static, auto, register
C-type: int, char, float, double, or void
modifier: short, long, signed, unsigned, const, volatile, or noalias
cdecl>
cdecl> declare fptab as array of pointer to function returning pointer to char
char *(*fptab[])()
cdecl>
No comments:
Post a Comment