Standards / Extensions | C or C++ | Dependencies |
---|---|---|
both | z/OS V1R2 |
#include <unistd.h>
size_t __a2e_l(char *bufptr, size_t szLen)
The __a2e_l() function converts szLen characters in bufptr from ASCII to EBCDIC, returning the number of characters converted if successful or -1 if not. Conversion occurs in place in the buffer. __a2e_l() is not sensitive to the locale, and only converts between ISO8859-1 and IBM-1047.
If successful, __a2e_l() returns the number of characters converted.