cdecl: Explain C Type Declarations

cdecl is a small utility that translates complex C declarations into plain English and can also help construct declarations from a description.

Why it is useful

Pointer-heavy declarations can be difficult to read at a glance. A declaration such as a pointer to a function returning another pointer becomes easier to reason about when a tool spells out the structure.

Typical usage

cdecl explain 'int (*f)(char *)'

Package names and command syntax can vary slightly by distribution or implementation, so use the local manual page after installation.

This replaces an older malformed duplicate-title note and keeps the page as a concise C programming reference.

Leave a Comment