shithub: scc

ref: 3e95097ce623d14228f5fe8f4206efe7d3490a9a
dir: /libc/src/ispunct.c/

View raw version
/* See LICENSE file for copyright and license details. */

#define __USE_MACROS
#include <ctype.h>
#undef ispunct

int
ispunct(int c)
{
	return _ctype[(unsigned char) c] & (_P);
}