cdecl(1)

The utility decodes C type declarations producing a verbose description.

Section 1 cutils bookworm source

Description

UNTITLED() LOCAL UNTITLED()

NAME

cdecl — decode 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:

-o file

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;

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> GNU July 15, 2001 CDECL(1)