mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:37:46 +00:00
Make bash-2.05b build with minimal changes.
This is really neat. :^)
This commit is contained in:
parent
2cf477a151
commit
9d05f6b7a7
35 changed files with 326 additions and 176 deletions
|
@ -11,3 +11,18 @@ int isprint(int c)
|
|||
{
|
||||
return isdigit(c) || isupper(c) || islower(c) || ispunct(c) || isspace(c);
|
||||
}
|
||||
|
||||
int isalnum(int c)
|
||||
{
|
||||
return isalpha(c) || isdigit(c);
|
||||
}
|
||||
|
||||
int isalpha(int c)
|
||||
{
|
||||
return isupper(c) || islower(c);
|
||||
}
|
||||
|
||||
int iscntrl(int c)
|
||||
{
|
||||
return (c >= 0 && c <= 0x1f) || c == 0x7f;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue