Guardian Native C Library Calls Reference Manual (G06.28+, H06.05+)
Guardian Native C Library Calls (t - z) toascii(3)
NAME
toascii - Translates integer to 7-bit ASCII character
LIBRARY
G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL
G-series native OSS processes: /G/system/sysnn/zcrtlsrl
H-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL
H-series OSS processes: /G/system/zdllnnn/zcrtldll
SYNOPSIS
#include <ctype.h>
int toascii (
int c);
PARAMETERS
c Specifies the integer to be converted.
DESCRIPTION
The toascii() function translates an integer to a 7-bit ASCII character.
RETURN VALUES
The toascii() function returns the logical AND of parameter c and the value 0X7F.
RELATED INFORMATION
Functions: setlocale(3).
527192-007 Hewlett-Packard Company 7−27