4 Created: June 11, 1993 by Philip Homburg
7 #define tcsetattr _tcsetattr
11 #include <sys/ioctl.h>
13 int tcsetattr(fd
, opt_actions
, termios_p
)
16 _CONST
struct termios
*termios_p
;
22 case TCSANOW
: request
= TCSETS
; break;
23 case TCSADRAIN
: request
= TCSETSW
; break;
24 case TCSAFLUSH
: request
= TCSETSF
; break;
25 default: errno
= EINVAL
; return(-1);
27 return(ioctl(fd
, request
, (void *) termios_p
));