PatchworkOS
Loading...
Searching...
No Matches
isalnum.c
Go to the documentation of this file.
1
#include <
ctype.h
>
2
3
#include "
common/ascii_table.h
"
4
5
int
isalnum
(
int
c)
6
{
7
return
_ascii_table
[c].
flags
& (
_ASCII_ALPHA
|
_ASCII_DIGIT
);
8
}
_ascii_table
_ascii_entry_t _ascii_table[UINT8_MAX+1]
Definition
ascii_table.c:5
ascii_table.h
_ASCII_ALPHA
@ _ASCII_ALPHA
Definition
ascii_table.h:7
_ASCII_DIGIT
@ _ASCII_DIGIT
Definition
ascii_table.h:8
ctype.h
isalnum
int isalnum(int c)
Definition
isalnum.c:5
_ascii_entry_t::flags
_ascii_flags_t flags
Definition
ascii_table.h:21
src
libstd
functions
ctype
isalnum.c
Generated by
1.9.8