12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- #include <ctype.h>
- #include "faux/ctype.h"
- bool_t faux_ctype_isdigit(char c) {
-
- return isdigit((unsigned char)c) ? BOOL_TRUE : BOOL_FALSE;
- }
- bool_t faux_ctype_isspace(char c) {
-
- return isspace((unsigned char)c) ? BOOL_TRUE : BOOL_FALSE;
- }
- char faux_ctype_tolower(char c) {
-
- return tolower((unsigned char)c);
- }
- char faux_ctype_toupper(char c)
- {
-
- return toupper((unsigned char)c);
- }
|