ctype.h: include isprint

This commit is contained in:
Imbus 2025-10-01 02:48:03 +02:00
parent 802ac9c012
commit f4342ab221

8
kern/libkern/ctype.h Normal file
View 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