/trunk/uspace/lib/libc/include/ctype.h |
---|
35,9 → 35,14 |
#ifndef LIBC_CTYPE_H_ |
#define LIBC_CTYPE_H_ |
static inline int isalpha(int c) |
{ |
return (((c >= 'a') && (c <= 'z')) || ((c >= 'A') && (c <= 'Z'))); |
} |
static inline int isdigit(int c) |
{ |
return ((c >= '0' )&&( c <= '9')); |
return ((c >= '0') && (c <= '9')); |
} |
static inline int isspace(int c) |