1TOASCII(3) Linux Programmer's Manual TOASCII(3)
2
3
4
6 toascii - convert character to ASCII
7
9 #include <ctype.h>
10
11 int toascii(int c);
12
14 toascii() converts c to a 7-bit unsigned char value that fits into the
15 ASCII character set, by clearing the high-order bits.
16
18 The value returned is that of the converted character.
19
21 SVr4, BSD, POSIX.1-2001.
22
24 Many people will be unhappy if you use this function. This function
25 will convert accented letters into random characters.
26
28 isascii(3), tolower(3), toupper(3)
29
30
31
32GNU 1995-09-16 TOASCII(3)