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

7 lines
No EOL
149 B
C++

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