diff options
Diffstat (limited to 'os/tpf/ebcdic.h')
-rw-r--r-- | os/tpf/ebcdic.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/os/tpf/ebcdic.h b/os/tpf/ebcdic.h new file mode 100644 index 0000000000..e9c4120e1a --- /dev/null +++ b/os/tpf/ebcdic.h @@ -0,0 +1,8 @@ +#include <sys/types.h> + +extern const unsigned char os_toascii[256]; +extern const unsigned char os_toebcdic[256]; +void ebcdic2ascii(void *dest, const void *srce, size_t count); +void ebcdic2ascii_strictly(unsigned char *dest, const unsigned char *srce, size_t count); +void ascii2ebcdic(void *dest, const void *srce, size_t count); + |