25static inline bool gv_islower(
int c) {
return c >=
'a' && c <=
'z'; }
27static inline bool gv_isupper(
int c) {
return c >=
'A' && c <=
'Z'; }
31static inline bool gv_isblank(
int c) {
return c ==
' ' || c ==
'\t'; };
34 if (c >= 0 && c <= 31)
41static inline bool gv_isdigit(
int c) {
return c >=
'0' && c <=
'9'; }
45static inline bool gv_isgraph(
int c) {
return c > 32 && c < 127; }
47static inline bool gv_isprint(
int c) {
return c > 31 && c < 127; }
52 return c > 32 && c < 127;
74 if (c >=
'A' && c <=
'F')
76 if (c >=
'a' && c <=
'f')
83 return (
char)c -
'A' +
'a';
88 for (; *
s !=
'\0'; ++
s) {
95 return (
char)c -
'a' +
'A';
100 for (; *
s !=
'\0'; ++
s) {
static char gv_toupper(int c)
static bool gv_isgraph(int c)
static char gv_tolower(int c)
static void gv_tolower_str(char *s)
static bool gv_islower(int c)
static bool gv_isxdigit(int c)
static bool gv_isupper(int c)
static bool gv_isalnum(int c)
static void gv_toupper_str(char *s)
static bool gv_iscntrl(int c)
static bool gv_isblank(int c)
static bool gv_isdigit(int c)
static bool gv_isalpha(int c)
static bool gv_isprint(int c)
static bool gv_isspace(int c)
static bool gv_ispunct(int c)