The
ispunct ();
function tests for any printing character except for space
(`'
)
or a
character for which
isalnum(3)
is true.
The value of the argument must be representable as an
Vt unsigned char
or the value of
EOF
In the ASCII character set, this includes the following characters
(with their numeric values shown in octal):
The
ispunct ();
function returns zero if the character tests false and
returns non-zero if the character tests true.
COMPATIBILITY
The
BSD 4.4
extension of accepting arguments outside of the range of the
Vt unsigned char
type in locales with large character sets is considered obsolete
and may not be supported in future releases.
The
iswpunct ();
function should be used instead.