Open System Services Library Calls Reference Manual (G06.29+, H06.08+, J06.03+)
l64a(3) OSS Library Calls Reference Manual
NAME
l64a - Converts a 32-bit integer to a radix-64 ASCII string
LIBRARY
G-series native Guardian processes: $SYSTEM.SYSnn.ZSTFNSRL
G-series native OSS processes: /G/system/sysnn/zstfnsrl
H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL
32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll
64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll
SYNOPSIS
#include <stdlib.h>
char *l64a(long value);
PARAMETERS
value Is a long value to be converted to radix-64
ASCII notation.
DESCRIPTION
The l64a( ) function allows you to convert numbers from being 32-bit integers to being radix-64
ASCII
notation. Radix-64 ASCII
is a notation which uses up to six characters to represent a 32-bit
integer. Each of these six characters represents a radix-64 digit as shown in the following list:
Radix-64 Digit Character
0.
1/
2-11 0-9
12-37 A-Z
38-63 a-z
If the type long is longer than 32 bits, these functions only use the low-order 32 bits.
The l64a( ) function takes the long integer pointed to by the value parameter and returns a pointer
to the corresponding radix-64
ASCII representation.
The l64a( ) function can be called by native processes only.
CAUTIONS
The l64a( ) function returns a pointer to a static buffer. Future calls to l64a( ) overwrite this
buffer.
RETURN VALUES
The l64a( ) function returns a pointer to the string resulting from the conversion of value to
radix-64 notation.
ERRORS
None.
RELATED INFORMATION
Functions: a64l(3).
STANDARDS CONFORMANCE
The l64a( ) function is defined in the XPG4 Version 2 specification.
4−80 Hewlett-Packard Company 527187-017