1TOASCII(3P)                POSIX Programmer's Manual               TOASCII(3P)
2
3
4

PROLOG

6       This  manual  page is part of the POSIX Programmer's Manual.  The Linux
7       implementation of this interface may differ (consult the  corresponding
8       Linux  manual page for details of Linux behavior), or the interface may
9       not be implemented on Linux.
10
11

NAME

13       toascii — translate an integer to a 7-bit ASCII character
14

SYNOPSIS

16       #include <ctype.h>
17
18       int toascii(int c);
19

DESCRIPTION

21       The toascii() function shall convert its argument into  a  7-bit  ASCII
22       character.
23

RETURN VALUE

25       The toascii() function shall return the value (c &0x7f).
26

ERRORS

28       No errors are returned.
29
30       The following sections are informative.
31

EXAMPLES

33       None.
34

APPLICATION USAGE

36       The  toascii() function cannot be used portably in a localized applica‐
37       tion.
38

RATIONALE

40       None.
41

FUTURE DIRECTIONS

43       The toascii() function may be removed in a future version.
44

SEE ALSO

46       isascii()
47
48       The Base Definitions volume of POSIX.1‐2008, <ctype.h>
49
51       Portions of this text are reprinted and reproduced in  electronic  form
52       from IEEE Std 1003.1, 2013 Edition, Standard for Information Technology
53       -- Portable Operating System Interface (POSIX),  The  Open  Group  Base
54       Specifications Issue 7, Copyright (C) 2013 by the Institute of Electri‐
55       cal and Electronics Engineers,  Inc  and  The  Open  Group.   (This  is
56       POSIX.1-2008  with  the  2013  Technical Corrigendum 1 applied.) In the
57       event of any discrepancy between this version and the original IEEE and
58       The  Open Group Standard, the original IEEE and The Open Group Standard
59       is the referee document. The original Standard can be  obtained  online
60       at http://www.unix.org/online.html .
61
62       Any  typographical  or  formatting  errors that appear in this page are
63       most likely to have been introduced during the conversion of the source
64       files  to  man page format. To report such errors, see https://www.ker
65       nel.org/doc/man-pages/reporting_bugs.html .
66
67
68
69IEEE/The Open Group                  2013                          TOASCII(3P)
Impressum