blob: e772d76a03f20493552beacfadec2844f9452987 [file] [log] [blame]
#include <ctype.h>
#include "libc.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);