| toascii | Function (Macro) |
| ctype.h |
| short toascii (short c); |
Translates characters to ASCII format.
toascii converts the integer c to ASCII by clearing all but the lower 7 bits. This gives a value in the range 0 to 127. Returns the converted value of c. toascii is a simple macro.