Your Browser is not longer supported

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

{{viewport.spaceProperty.prod}}

ebcdic_to_ascii - convert EBCDIC string to ASCII string (extension)

&pagelevel(4)&pagelevel

Syntax

int ebcdic_to_ascii(char *in, char *out);

Description

ebcdic_to_ascii converts EBCDIC strings to ASCII strings, where in is the input string
in EBCDIC code, and out is the output string in ASCII. The buffer must be supplied by the
caller.

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

Return val.

0

1

if successful.

if an error occurs.

See also

ascii_to_ebcdic.