2 .\" Copyright (c) 1995 by Jim Van Zandt <jrv@vanzandt.mv.com>
4 .\" SPDX-License-Identifier: Linux-man-pages-copyleft
6 .\" Added BUGS section, aeb, 950919
8 .TH toascii 3 (date) "Linux man-pages (unreleased)"
10 toascii \- convert character to ASCII
13 .RI ( libc ", " \-lc )
18 .BI "[[deprecated]] int toascii(int " c );
22 Feature Test Macro Requirements for glibc (see
23 .BR feature_test_macros (7)):
29 || /* glibc >= 2.19: */ _DEFAULT_SOURCE
30 || /* glibc <= 2.19: */ _SVID_SOURCE || _BSD_SOURCE
38 value that fits into the ASCII character set, by clearing the
41 The value returned is that of the converted character.
43 For an explanation of the terms used in this section, see
49 Interface Attribute Value
54 T} Thread safety MT-Safe
59 SVr4, BSD, POSIX.1-2001.
60 Obsolete in POSIX.1-2008,
61 noting that it cannot be used portably in a localized application.
63 Many people will be unhappy if you use this function.
64 This function will convert accented letters into random characters.