Cdecl

Cdecl is a program for encoding and decoding C (C++) type-declarations. The C language (the default for cdecl, or with the -a option) is based on the (draft proposed) X3J11 ANSI Standard; optionally, the C language may be based on the pre-ANSI definition defined by Kernighan & Ritchie's "The C Programming Language" book (the -p option is used), or the C language defined by the Ritchie PDP-11 C compiler (the .B -r option is used). The C++ language (with the -+ option) is based on Stroustrup's "The C++ Programming Language", plus the version 2.0 additions to the language.