| isextpunct | Function (Macro)

ctype.h

short isextpunct (short c);

Checks whether a character is an extended punctuation character.

isextpunct returns nonzero if c is a character which is printable (see isprint but which is not an extended alphanumeric (see isextalnum), otherwise it returns zero. Extended punctuation characters include ordinary punctuation characters (see ispunct) and some extra ones. isextpunct is an inline function which is implemented using GNU C smart macros. The first call of it expands to a large code, but any next call of it expands to a relatively small code.