old-libc-kernel/ctype/isUpper.cpp

7 lines
148 B
C++
Raw Permalink Normal View History

2016-07-27 13:03:34 +00:00
#include <ctype.h>
#include "_ctype.h"
#include <assert.h>
extern "C" int isupper(int c) {
assert(c<256);
return ascii_table[c] & (UPPER);
}