1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#include <ctype.h> #include "libc.h" #undef isspace int isspace(int c) { return c == ' ' || (unsigned)c-'\t' < 5; } int __isspace_l(int c, locale_t l) { return isspace(c); } weak_alias(__isspace_l, isspace_l);