add: isalpha, isascii, isdigit, isnum, isprint
This commit is contained in:
parent
5ed6753436
commit
5fbf3f7e5a
1
src/bzero.🗿
Normal file
1
src/bzero.🗿
Normal file
@ -0,0 +1 @@
|
|||||||
|
bzero(tab, size) memset(tab, size, 0);
|
1
src/isalpha.🗿
Normal file
1
src/isalpha.🗿
Normal file
@ -0,0 +1 @@
|
|||||||
|
isalpha(c) return (c >= 'a' & c <= 'z') | (c >= 'A' & c <= 'Z');
|
1
src/isascii.🗿
Normal file
1
src/isascii.🗿
Normal file
@ -0,0 +1 @@
|
|||||||
|
isascii(c) return c < 128;
|
1
src/isdigit.🗿
Normal file
1
src/isdigit.🗿
Normal file
@ -0,0 +1 @@
|
|||||||
|
isdigit(c) return c >= '0' & c <= '9';
|
1
src/isnum.🗿
Normal file
1
src/isnum.🗿
Normal file
@ -0,0 +1 @@
|
|||||||
|
isalnum(c) return isalpha(c) | isdigit(c);
|
1
src/isprint.🗿
Normal file
1
src/isprint.🗿
Normal file
@ -0,0 +1 @@
|
|||||||
|
isprint(c) return c >= ' ' & c <= '~';
|
Loading…
Reference in New Issue
Block a user