Your Browser is not longer supported
Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...
{{viewport.spaceProperty.prod}}
toebcdic - Convert an integer value to a valid EBCDIC value
&pagelevel(4)&pagelevel
Definition | #include <ctype.h> int toebcdic(int i); toebcdic returns a legal value from the EBCDIC character set.
toebcdic uses the bitwise AND operator (i & 0XFF) to set the first 3 bytes of an integer variable i to 0 and returns the value of the least significant byte.
|
Return val. | The least significant byte of the variable i. |
Notes | toebcdic is implemented both as a macro and as a function (see section “Functions and macros”).
toebcdic does not convert values from other character sets (e.g. ASCII).
toebcdic is a synonym for toascii . If portability to ASCII computers is essential, toascii should be used instead of toebcdic .
|
See also | toascii |