3 * iomode.c - set file io mode (normal or translated) (SAS/C)
5 * Copyright © 1994 AmiTCP/IP Group,
6 * Network Solutions Development Inc.
14 iomode(int fd
, int mode
)
21 if ((ufb
= __chkufb(fd
)) == NULL
) {
25 * Set the translation mode
27 * mode == 0 - translate mode on
28 * mode == 1 - translate mode off
31 ufb
->ufbflg
&= ~UFB_XLAT
;
33 ufb
->ufbflg
|= UFB_XLAT
;