shithub: scc

ref: 2ba16ff549dccdaf9a6c915f3f9219410b9d5e3e
dir: /libc/src/isdigit.c/

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

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

int
isdigit(int c)
{
	return __ctype[(unsigned char) c] & (_D);
}