TOASCII(3) Library Functions Manual TOASCII(3)

toasciitranslate an integer to a 7-bit ASCII character


#include <ctype.h>

int toascii(int c);

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

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

No errors are returned.

None.

None.

None.

None.

isascii(3), the Base Definitions volume of IEEE Std 1003.1-2001 (“POSIX.1”), <ctype.h>

First released in Issue 1. Derived from Issue 1 of the SVID.

footer end

December 6, 2001 posix.fail