Guardian Native C Library Calls Reference Manual (G06.28+, H06.04+)
toascii(3) Guardian Native C Library Calls Reference Manual
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).
7−22 Hewlett-Packard Company 527192-005