TOASCII(3) Library Functions Manual TOASCII(3)

toasciitranslate integer to a 7-bit ASCII character

#include <ctype.h>

int toascii(int c);

The toascii() function converts its argument into a 7-bit ASCII character.

The toascii() function returns the value ( c & 0x7f).

No errors are returned.

None.

None.

None.

isascii(3) , <ctype.h> .

Derived from Issue 1 of the SVID.

February 1997 posix.fail