diff options
| author | Jakob Kaivo <jkk@ung.org> | 2024-01-31 17:07:29 -0500 |
|---|---|---|
| committer | Jakob Kaivo <jkk@ung.org> | 2024-01-31 17:07:29 -0500 |
| commit | 40e2986d3d196855bba3836a60a482fd3a0f73a8 (patch) | |
| tree | 6ce03ea7ddffb7f0001bff12706b21f9bce3c67e /src/ctype/isascii.c | |
| parent | 421cc9cd7295e5b92cf167a41bd8f55a3b842728 (diff) | |
remove posix and xopen specific functions
Diffstat (limited to 'src/ctype/isascii.c')
| -rw-r--r-- | src/ctype/isascii.c | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/src/ctype/isascii.c b/src/ctype/isascii.c deleted file mode 100644 index cf7bba28..00000000 --- a/src/ctype/isascii.c +++ /dev/null @@ -1,26 +0,0 @@ -#include <ctype.h> -#include "_ctype.h" - -/** test whether a character is in the ASCII range **/ - -int isascii(int c) -{ - SIGNAL_SAFE(0); - if (0 <= c && c <= 0177) { - return 1; - } - return 0; -} - -__check_1(int, 0, isascii, int) - -/*** -tests whether ARGUMENT(c) is a 7-bit US-ASCII character. -***/ - -/* -RETURN(NONZERO, ARGUMENT(c) is between 0 and octal 0177 inclusive) -RETURN(ZERO, ARGUMENT(c) is outside of the ASCII range) -XOBSOLETE(700) -XOPEN(4) -*/ |
