Standard C Library Functions toascii(3C)
NAME
toascii - translate integer to a 7-bit ASCII character
SYNOPSIS
#include
int toascii(int c);
DESCRIPTION
The toascii() function converts its argument into a 7-bit
ASCII character.RETURN VALUES
The toascii() function returns the value (c & 0x7f).
ERRORS
No errors are returned.ATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes:____________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_____________________________|_____________________________|
| CSI | Enabled ||_____________________________|_____________________________|
| Interface Stability | Standard ||_____________________________|_____________________________|
| MT-Level | MT-Safe |
|_____________________________|_____________________________|
SEE ALSO
isascii(3C), attributes(5), standards(5)SunOS 5.11 Last change: 14 Aug 2002 1