shithub: scc

ref: 54374eb1baef2600d9fd2aabd08f71a16d50a392
dir: /libc/src/isalnum.c/

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

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

int
isalnum(int c)
{
	return _ctype[(unsigned char) c] & (_U|_L|_D);
}