snalu62_eb2as(3) — Subroutines
NAME
snalu62_eb2as − Converts an EBCDIC-encoded buffer to an ASCII-encoded buffer.
LIBRARY
/usr/shlib/libsnatprm.so
SYNOPSIS
#include <sna/snatprmdf.h>
void snalu62_eb2as(
char ∗inbuf,
char ∗outbuf,
unsigned int length
);
Valid Conversation States
HDX: All
FDX: All
SUPPLIED PARAMETERS
inbuf
A pointer to the EBCDIC-encoded string that the interface should convert.
length
An unsigned int value specifying the number of bytes that the interface should convert. This value specifies the length of the input buffer. The length of the output buffer is 1 byte longer.
RETURNED PARAMETER
outbuf
A pointer to a char buffer to receive the ASCII-encoded string. The interface null-terminates the buffer; therefore, the output buffer should be 1 byte longer than the input buffer.
DESCRIPTION
The input and output buffers should either be identical (with the output buffer being 1 byte longer) or not overlap at all.
RESTRICTIONS
None
Return Values
This function does not return a value.
ERRORS
None
RELATED INFORMATION
Functions: snalu62_as2eb
Manuals: Compaq SNA APPC/LU6.2 Programming Interface for Tru64 UNIX Programming and IBM’s Systems Network Architecture Transaction Programmer’s Reference Manual for LU Type 6.2.