ref: 28c3699e01e6413dc2dc0410d0d52e4fd2be5bea
parent: c80b75d73d4f4d44f172b549344488e9712249a4
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Mon Sep 9 12:00:06 EDT 2019
Add toascii() to ape
--- a/sys/include/ape/ctype.h
+++ b/sys/include/ape/ctype.h
@@ -50,6 +50,7 @@
#ifdef _BSD_EXTENSION
#define isascii(c) (((unsigned int)(c))<0x80)
+#define toascii( c ) ((unsigned)(c) & 0x007f)
#endif
#endif /* __CTYPE */
--
⑨