TOASCII(3C)TOASCII(3C)NAMEtoascii - translate integer to a 7-bit ASCII character
SYNOPSIS
#include <ctype.h>
int toascii(int c);
DESCRIPTION
The toascii() function converts its argument into a 7-bit ASCII charac‐
ter.
RETURN VALUES
The toascii() function returns the value (c & 0x7f).
ERRORS
No errors are returned.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
┌────────────────────┬─────────────────┐
│ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
├────────────────────┼─────────────────┤
│CSI │ Enabled │
├────────────────────┼─────────────────┤
│Interface Stability │ Standard │
├────────────────────┼─────────────────┤
│MT-Level │ MT-Safe │
└────────────────────┴─────────────────┘
SEE ALSOisascii(3C), attributes(5), standards(5)
Aug 14, 2002 TOASCII(3C)