HP C/iX Library Reference Manual (30026-90004)
Chapter 5 369
HP C/iX Library Function Descriptions
toascii
toascii
Converts an integer to 7-bit ASCII.
Syntax
#include <ctype.h>
int toascii (int
c
);
Parameters
c
The integer to convert to ASCII.
Return Values
x Is returned with all bits turned off that are not part of the standard 7-bit
ASCII character.
Description
The toascii function returns its argument with all bits turned off that are not part of a
standard 7-bit ASCII character. It is intended for compatibility with other systems.