#include <ctype.h>
int ispunct(int c);
Implemented
IEEE Std 1003.1-2017
The ispunct()
function shall test whether c is a character of class punct
in the current locale.
The c argument is an int
, the value of which the application shall ensure is a character representable as an
unsigned char
or equal to the value of the macro EOF
. If the argument has any other value, the behavior is
undefined.
The ispunct()
function shall return non-zero if c is a punctuation character, otherwise shall return 0
.
No errors are defined.
Tested
None