Print this page
OS-2834 ship lx brand
        
*** 359,368 ****
--- 359,386 ----
  #define TCSADRAIN       (_TIOC|15) /* same as TCSETSW */
  #if !defined(__XOPEN_OR_POSIX) || defined(__EXTENSIONS__)
  #define TCSETSF         (_TIOC|16)
  
  /*
+  * linux terminal ioctls we need to be aware of
+  */
+ #define TIOCSETLD       (_TIOC|123)     /* set line discipline parms */
+ #define TIOCGETLD       (_TIOC|124)     /* get line discipline parms */
+ 
+ /*
+  * The VMIN and VTIME and solaris overlap with VEOF and VEOL - This is
+  * perfectly legal except, linux expects them to be separate. So we keep
+  * them separately.
+  */
+ struct lx_cc {
+         unsigned char veof;     /* veof value */
+         unsigned char veol;     /* veol value */
+         unsigned char vmin;     /* vmin value */
+         unsigned char vtime;    /* vtime value */
+ };
+ 
+ /*
   * NTP PPS ioctls
   */
  #define TIOCGPPS        (_TIOC|125)
  #define TIOCSPPS        (_TIOC|126)
  #define TIOCGPPSEV      (_TIOC|127)