Print this page
Bring back LX zones.
@@ -375,10 +375,28 @@
#endif /* !defined(__XOPEN_OR_POSIX) || defined(__EXTENSIONS__) */
#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)