old-libc-kernel/ctype/isAlpha.cpp
2016-07-27 15:03:34 +02:00

7 lines
No EOL
150 B
C++

#include <ctype.h>
#include "_ctype.h"
#include <assert.h>
extern "C" isalpha(int c) {
assert(c<256);
return ascii_table[c] & (UPPER|LOWER);
}