summaryrefslogtreecommitdiff
path: root/src/ctype/toascii.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/toascii.c
parentc22a0473c06092a41fb728ce668572082bb50636 (diff)
clean up documentation
Diffstat (limited to 'src/ctype/toascii.c')
-rw-r--r--src/ctype/toascii.c14
1 files changed, 4 insertions, 10 deletions
diff --git a/src/ctype/toascii.c b/src/ctype/toascii.c
index 80b599df..8a625b44 100644
--- a/src/ctype/toascii.c
+++ b/src/ctype/toascii.c
@@ -1,24 +1,18 @@
#include <ctype.h>
/** convert a character to 7-bit ASCII **/
+
int toascii(int c)
{
return (c & 0x7f);
}
-#endif
-
/***
-The fn(toascii) function converts arg(c) to 7-bit ASCII.
+converts ARGUMENT(c) to 7-bit ASCII.
***/
-/* RETURN: arg(c) & 0x7f */
-
-/* UNDEFINED: - */
-/* UNSPECIFIED: - */
-/* IMPLEMENTATION: - */
-/* LOCALE: - */
-
/*
+RETURN(ARGUMENT(c) & 0x7f)
+XOBSOLETE(700)
XOPEN(4)
*/