mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 05:37:34 +00:00
Add ispunct() to LibC + some minor cleanups.
This commit is contained in:
parent
3b2f172d48
commit
7cc4caee4f
5 changed files with 16 additions and 2 deletions
|
@ -2,6 +2,8 @@
|
|||
|
||||
#include <sys/cdefs.h>
|
||||
|
||||
__BEGIN_DECLS
|
||||
|
||||
ALWAYS_INLINE int isascii(int ch)
|
||||
{
|
||||
return (ch & ~0x7f) == 0;
|
||||
|
@ -40,3 +42,7 @@ ALWAYS_INLINE int isdigit(int c)
|
|||
{
|
||||
return c >= '0' && c <= '9';
|
||||
}
|
||||
|
||||
int ispunct(int c);
|
||||
|
||||
__END_DECLS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue