HP 3000 Manuals

toascii [ HP C/iX Library Reference Manual ] MPE/iX 5.0 Documentation


HP C/iX Library Reference Manual

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.



MPE/iX 5.0 Documentation