ISSPECIAL(3) Library Functions Manual ISSPECIAL(3)

isspecialspecial character test

Standard C Library (libc, -lc)

#include <ctype.h>

int
isspecial(int c);

The () function tests for a special character. Special characters are locale dependent, and not necessarily consistent between different locales. Examples might include fractions and numbers inside circles.

The isspecial() function returns zero if the character tests false and returns non-zero if the character tests true.

ctype(3), iswspecial(3), isalnum_l

The isspecial() function appeared in 4.4BSD.

March 30, 2004 macOS 15.0