Copyright (c) 1995 by Jim Van Zandt <email@example.com> %%%LICENSE_START(VERBATIM) Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice are preserved on all copies. Permission is granted to copy and distribute modified versions of this manual under the conditions for verbatim copying, provided that the entire resulting derived work is distributed under the terms of a permission notice identical to this one. S...
NAMEtoascii - convert character to ASCII
#include <ctype.h> int toascii(int c);
Feature Test Macro Requirements for glibc (see feature_test_macros(7)):
toascii(): _BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE
DESCRIPTIONtoascii() converts c to a 7-bit unsigned char value that fits into the ASCII character set, by clearing the high-order bits.
RETURN VALUEThe value returned is that of the converted character.
ATTRIBUTESFor an explanation of the terms used in this section, see attributes(7).