Definition | #include <ascii_ebcdic.h> char*_a2e_dup_n (const char* z, size_t n); char*_e2a_dup_n (const char* z, size_t n); The functions The conversion tables are declared as follows: unsigned char _a2e_tab[256]; |
Parameters | char* z String in ASCII or EBCDIC encoding to be converted size_t n Number of characters to be converted in the string z |
Return val. | New EBCDIC or ASCII string (if successful) NULL, if there is insufficient memory |
Note | These functions are suitable for processing character arrays containing the null byte (\0), since they do not interpret the null byte as the ’end of text’. |
See also | _a2e, _e2a, _a2e_max, _e2a_max, _a2e_n, _e2a_n, _a2e_dup; _e2a_dup |