Embedded Artistry libc
C Standard Library Support for Bare-metal Systems
iscntrl.c
Go to the documentation of this file.
1
// Pulled from musl libc, locale support removed
2
3
#include <
ctype.h
>
4
5
int
iscntrl
(
int
c)
6
{
7
return
(
unsigned
)c < 0x20 || c == 0x7f;
8
}
ctype.h
iscntrl
int iscntrl(int c)
Checks if the given character is a control character.
Definition:
iscntrl.c:5
src
ctype
iscntrl.c
Generated by
1.8.15