add: isprint
This commit is contained in:
parent
6fe18b3572
commit
792f8f1283
@ -9,7 +9,9 @@ int isdigit(int c);
|
|||||||
/*
|
/*
|
||||||
int isgraph(int c);
|
int isgraph(int c);
|
||||||
int islower(int c);
|
int islower(int c);
|
||||||
|
*/
|
||||||
int isprint(int c);
|
int isprint(int c);
|
||||||
|
/*
|
||||||
int ispunct(int c);
|
int ispunct(int c);
|
||||||
int isspace(int c);
|
int isspace(int c);
|
||||||
int isupper(int c);
|
int isupper(int c);
|
||||||
|
4
src/ctype/isprint.c
Normal file
4
src/ctype/isprint.c
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
int isprint(int c)
|
||||||
|
{
|
||||||
|
return (32 <= c && c < 127);
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user