summaryrefslogblamecommitdiff
path: root/src/ctype/ispunct.c
blob: a491d5dc4b04d375fd0f2a3a495f2c147727a204 (plain) (tree)
1
2
3
4
5
6





                                         






                                   
#include <ctype.h>

int ispunct(int c)
{
	return isgraph(c) && !isalnum(c);
}

int __ispunct_l(int c, locale_t l)
{
	return ispunct(c);
}

weak_alias(__ispunct_l, ispunct_l);