summaryrefslogtreecommitdiff
path: root/src/ctype/isascii.c
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2019-03-02 11:33:02 -0500
committerJakob Kaivo <jkk@ung.org>2019-03-02 11:33:02 -0500
commitf7afd7bc9c759650c1b52ee6ff0c8f2956297056 (patch)
tree4ac4834972dc7601476a4f3d7e336605ecf6d01b /src/ctype/isascii.c
parentc22a0473c06092a41fb728ce668572082bb50636 (diff)
clean up documentation
Diffstat (limited to 'src/ctype/isascii.c')
-rw-r--r--src/ctype/isascii.c14
1 files changed, 5 insertions, 9 deletions
diff --git a/src/ctype/isascii.c b/src/ctype/isascii.c
index 30fc5a1f..fc0067d7 100644
--- a/src/ctype/isascii.c
+++ b/src/ctype/isascii.c
@@ -1,6 +1,7 @@
#include <ctype.h>
/** test whether a character is in the ASCII range **/
+
int isascii(int c)
{
if (0 <= c && c <= 0177) {
@@ -10,17 +11,12 @@ int isascii(int c)
}
/***
-The fn(isascii) function tests whether arg(c) is a 7-bit US-ASCII character.
+tests whether ARGUMENT(c) is a 7-bit US-ASCII character.
***/
-/* RETURN(NZ): arg(c) is between 0 and octal 0177 inclusive */
-/* RETURN(0): arg(c) is outside of the ASCII range */
-
-/* UNDEFINED: - */
-/* UNSPECIFIED: - */
-/* IMPLEMENTATION: - */
-/* LOCALE: - */
-
/*
+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)
*/