Standards / Extensions | C or C++ | Dependencies |
---|---|---|
both | z/OS V1R2 |
#include <unistd.h>
size_t __a2e_s(char *string)
The __a2e_s() function converts a string from ASCII to EBCIDIC, returning the string length if successful or -1 if not. Conversion occurs in place in the string. __a2e_s() is not sensitive to the locale, and only converts between ISO8859-1 and IBM-1047.
If successful, __a2e_s() returns the string length.