ctype.h: include isprint
This commit is contained in:
parent
802ac9c012
commit
f4342ab221
1 changed files with 8 additions and 0 deletions
8
kern/libkern/ctype.h
Normal file
8
kern/libkern/ctype.h
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
#ifndef CTYPE_H
|
||||
#define CTYPE_H
|
||||
|
||||
static inline int isprint(int c) {
|
||||
return (unsigned)c - 0x20 < 0x5f;
|
||||
}
|
||||
|
||||
#endif // CTYPE_H
|
||||
Loading…
Add table
Add a link
Reference in a new issue