cundecl(1) encode C type declarations


cundecl [-V ] [-o file ] [file ... ]


The cundecl utility reads a verbose english description and produces a C type declaration. Casts are accepted as well.

The options are as follows:

-o file
Set the output destination to file
Print version information on standard output then exit.


declare s as pointer to char;
declare x as function (fmt as pointer to const char, ...) returning int;
cast s into pointer to const char;
cast f into pointer to function (int) returning void;


The cundecl utility is expected to be St -ansiC-89 compatible.


Sandro Sigala <[email protected]>. Based on cdecl written and put in the public domain by Graham Ross.