PatchworkOS
966e257
A non-POSIX operating system.
Theme:
Default
Round
Robot
Loading...
Searching...
No Matches
isprint.c
Go to the documentation of this file.
1
#include <
ctype.h
>
2
3
#include "
common/ascii_table.h
"
4
5
int
isprint
(
int
c)
6
{
7
/* FIXME: Space as of current locale charset, not source charset. */
8
return
(
_ascii_table
[c].
flags
&
_ASCII_GRAPH
) || (c ==
' '
);
9
}
_ascii_table
_ascii_entry_t _ascii_table[UINT8_MAX+1]
Definition
ascii_table.c:5
ascii_table.h
_ASCII_GRAPH
@ _ASCII_GRAPH
Definition
ascii_table.h:12
ctype.h
isprint
int isprint(int c)
Definition
isprint.c:5
flags
static const path_flag_t flags[]
Definition
path.c:42
src
libstd
functions
ctype
isprint.c
Generated on Mon Dec 15 2025 21:55:53 for PatchworkOS by
1.9.8