1 #include <ctype.h> 2 ispunct(int c)3 int ispunct(int c) 4 { 5 return isgraph(c) && !isalnum(c); 6 } 7 __ispunct_l(int c,locale_t l)8 int __ispunct_l(int c, locale_t l) 9 { 10 return ispunct(c); 11 } 12 13 weak_alias(__ispunct_l, ispunct_l); 14