Section: Linux Programmer's Manual (3)
Return to Main Contents
toascii - convert character to ASCII
int toascii(int c);
Feature Test Macro Requirements for glibc (see
_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE
to a 7-bit
value that fits into the ASCII character set, by clearing the
The value returned is that of the converted character.
SVr4, BSD, POSIX.1-2001.
noting that it cannot be use portably in a localized application.
Many people will be unhappy if you use this function.
This function will convert accented letters into random characters.
This page is part of release 3.54 of the Linux
A description of the project,
and information about reporting bugs,
can be found at
- RETURN VALUE
- CONFORMING TO
- SEE ALSO
This document was created by
using the manual pages.
Time: 12:19:30 GMT, January 22, 2018