Scroll to navigation

CDECL(1) General Commands Manual CDECL(1)

NAME

cdecldecode C type declarations

SYNOPSIS

cdecl [-V] [-o file] [file ...]

DESCRIPTION

The cdecl utility decodes C type declarations producing a verbose description. Casts are accepted as well.

The options are as follows:

file
Set the output destination to file.
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;

SEE ALSO

cundecl(1)

STANDARDS

The cdecl utility is expected to be ANSI X3.159-1989 (“ANSI C89”) compatible.

AUTHORS

Sandro Sigala <sandro@sigala.it>

July 15, 2001 Debian