| 
 | 
The following library functions (defined on the termios(S) manual page) should be used instead of ioctl(S):
   #define	NCCS	21
   struct termios {
       tcflag_t      c_iflag;     /
 input modes 
/
       tcflag_t      c_oflag;     /
 output modes 
/
       tcflag_t      c_cflag;     /
 control modes 
/
       tcflag_t      c_lflag;     /
 local (line discipline) modes 
/
       char          c_line;      /
 line discipline 
/
       cc_t          c_cc[NCCS];  /
 control chars 
/
   };
For backward compatibility when the -a ods30 option is used with
cc(CP),
the following alternative version of the termios structure is
also defined:
   #define	NCCS	13
   struct termios {
       tcflag_t      c_iflag;     /
 input modes 
/
       tcflag_t      c_oflag;     /
 output modes 
/
       tcflag_t      c_cflag;     /
 control modes 
/
       tcflag_t      c_lflag;     /
 local (line discipline) modes 
/
       char          c_line;      /
 line discipline 
/
       cc_t          c_cc[NCCS];  /
 control chars 
/
       char          __c_xxx;     /
 used for input baud rate for iBCS2 
/
       char          __c_yyy;     /
 used for output baud rate for iBCS2 
/
   };
ISO/IEC 9945
1:1990, Information technology 
 Portable Operating System Interface (POSIX) 
 Part 1: System Application Program Interface (API) [C Language] (IEEE Std 1003.1
1990);
X/Open CAE Specification, System Interfaces and Headers, Issue 4, 1992.