Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

ascii_to_ebcdic - convert ASCII string to EBCDIC string (extension)

&pagelevel(4)&pagelevel

Syntax     int ascii_to_ebcdic(char *in, char *out);

Description ascii_to_ebcdic converts ASCII strings to EBCDIC strings, where in is the input string


in ASCII, and out is the output string in EBCDIC. The buffer must be supplied by the caller.

The characters of the input string are interpreted as ASCII characters and translated into
the corresponding characters of the EBCDIC code.

Return val.

0

1

if successful.

if an error occurs.

See also

ebcdic_to_ascii.