Your Browser is not longer supported
Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...
{{viewport.spaceProperty.prod}}
toascii - Convert an integer value to a valid EBCDIC value
&pagelevel(4)&pagelevel
Definition | #include <ctype.h> int toascii(int i); toascii 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.
toascii is a synonym for toebcdic . On EBCDIC computers, toascii returns a legal value from the EBCDIC character set. If portability to ASCII computers is essential, toascii should be used.
|
Return val. | Value of the least significant byte of the variable i. |
Notes | toascii does not convert values from other character sets (e.g. ASCII on EBCDIC computers).
|
See also | toebcdic |