mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 05:27:46 +00:00
Stub out a bunch more functions to get closer to that sweet bash build.
This commit is contained in:
parent
e48182d91b
commit
f394e3486a
14 changed files with 114 additions and 1 deletions
|
@ -6,3 +6,8 @@ int ispunct(int c)
|
|||
const char* punctuation_characters = "!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~";
|
||||
return !!strchr(punctuation_characters, c);
|
||||
}
|
||||
|
||||
int isprint(int c)
|
||||
{
|
||||
return isdigit(c) || isupper(c) || islower(c) || ispunct(c) || isspace(c);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue