CS318 - Pintos
Pintos source browser for JHU CS318 course
|
Go to the documentation of this file.
4 static inline int islower (
int c) {
return c >=
'a' && c <=
'z'; }
5 static inline int isupper (
int c) {
return c >=
'A' && c <=
'Z'; }
7 static inline int isdigit (
int c) {
return c >=
'0' && c <=
'9'; }
10 return isdigit (c) || (c >=
'a' && c <=
'f') || (c >=
'A' && c <=
'F');
13 return (c ==
' ' || c ==
'\f' || c ==
'\n'
14 || c ==
'\r' || c ==
'\t' || c ==
'\v');
16 static inline int isblank (
int c) {
return c ==
' ' || c ==
'\t'; }
17 static inline int isgraph (
int c) {
return c > 32 && c < 127; }
18 static inline int isprint (
int c) {
return c >= 32 && c < 127; }
19 static inline int iscntrl (
int c) {
return (c >= 0 && c < 32) || c == 127; }
20 static inline int isascii (
int c) {
return c >= 0 && c < 128; }
25 static inline int tolower (
int c) {
return isupper (c) ? c -
'A' +
'a' : c; }
26 static inline int toupper (
int c) {
return islower (c) ? c -
'a' +
'A' : c; }
static int isupper(int c)
static int ispunct(int c)
static int tolower(int c)
static int isprint(int c)
static int toupper(int c)
lib/ctype.h
static int isspace(int c)
static int isalpha(int c)
static int isxdigit(int c)
static int isgraph(int c)
static int isdigit(int c)
static int islower(int c)
static int iscntrl(int c)
static int isascii(int c)
static int isalnum(int c)
static int isblank(int c)