cdecl — decode C type declarations
Contents
Description
The cdecl utility decodes C type declarations producing a verbose description. Casts are accepted as
well.
The options are as follows:
-ofile
Set the output destination to file.
-V Print version information on standard output then exit.
Examples
char *s;
void (*signal(int sig, void (*func)(int)))(int);
(const char *)s;
(void (*)(int))signal_function;
Name
cdecl — decode C type declarations
See Also
cundecl(1)
Standards
The cdecl utility is expected to be ANSI X3.159-1989 (“ANSI C89”) compatible.
Synopsis
cdecl [-V] [-ofile] [file...]
