Print this page
Bring back LX zones.


 360 /*
 361  * Softcarrier ioctls
 362  */
 363 #define TIOCGSOFTCAR (_TIOC|105)
 364 #define TIOCSSOFTCAR (_TIOC|106)
 365 
 366 
 367 /* termios ioctls */
 368 
 369 #define TCGETS          (_TIOC|13)
 370 #define TCSETS          (_TIOC|14)
 371 #endif /* !defined(__XOPEN_OR_POSIX) || defined(__EXTENSIONS__) */
 372 #define TCSANOW         (_TIOC|14) /* same as TCSETS */
 373 #if !defined(__XOPEN_OR_POSIX) || defined(__EXTENSIONS__)
 374 #define TCSETSW         (_TIOC|15)
 375 #endif /* !defined(__XOPEN_OR_POSIX) || defined(__EXTENSIONS__) */
 376 #define TCSADRAIN       (_TIOC|15) /* same as TCSETSW */
 377 #if !defined(__XOPEN_OR_POSIX) || defined(__EXTENSIONS__)
 378 #define TCSETSF         (_TIOC|16)
 379 


















 380 /*
 381  * NTP PPS ioctls
 382  */
 383 #define TIOCGPPS        (_TIOC|125)
 384 #define TIOCSPPS        (_TIOC|126)
 385 #define TIOCGPPSEV      (_TIOC|127)
 386 
 387 /* Argument filled in by TIOCGPPSEV */
 388 struct ppsclockev {
 389         struct timeval tv;
 390         uint_t serial;
 391 };
 392 
 393 #if defined(_SYSCALL32)
 394 struct ppsclockev32 {
 395         struct timeval32 tv;
 396         uint32_t serial;
 397 };
 398 #endif /* _SYSCALL32 */
 399 




 360 /*
 361  * Softcarrier ioctls
 362  */
 363 #define TIOCGSOFTCAR (_TIOC|105)
 364 #define TIOCSSOFTCAR (_TIOC|106)
 365 
 366 
 367 /* termios ioctls */
 368 
 369 #define TCGETS          (_TIOC|13)
 370 #define TCSETS          (_TIOC|14)
 371 #endif /* !defined(__XOPEN_OR_POSIX) || defined(__EXTENSIONS__) */
 372 #define TCSANOW         (_TIOC|14) /* same as TCSETS */
 373 #if !defined(__XOPEN_OR_POSIX) || defined(__EXTENSIONS__)
 374 #define TCSETSW         (_TIOC|15)
 375 #endif /* !defined(__XOPEN_OR_POSIX) || defined(__EXTENSIONS__) */
 376 #define TCSADRAIN       (_TIOC|15) /* same as TCSETSW */
 377 #if !defined(__XOPEN_OR_POSIX) || defined(__EXTENSIONS__)
 378 #define TCSETSF         (_TIOC|16)
 379 
 380  /*
 381  * linux terminal ioctls we need to be aware of
 382  */
 383 #define TIOCSETLD       (_TIOC|123)     /* set line discipline parms */
 384 #define TIOCGETLD       (_TIOC|124)     /* get line discipline parms */
 385 
 386 /*
 387  * The VMIN and VTIME and solaris overlap with VEOF and VEOL - This is
 388  * perfectly legal except, linux expects them to be separate. So we keep
 389  * them separately.
 390  */
 391 struct lx_cc {
 392         unsigned char veof;     /* veof value */
 393         unsigned char veol;     /* veol value */
 394         unsigned char vmin;     /* vmin value */
 395         unsigned char vtime;    /* vtime value */
 396 };
 397 
 398 /*
 399  * NTP PPS ioctls
 400  */
 401 #define TIOCGPPS        (_TIOC|125)
 402 #define TIOCSPPS        (_TIOC|126)
 403 #define TIOCGPPSEV      (_TIOC|127)
 404 
 405 /* Argument filled in by TIOCGPPSEV */
 406 struct ppsclockev {
 407         struct timeval tv;
 408         uint_t serial;
 409 };
 410 
 411 #if defined(_SYSCALL32)
 412 struct ppsclockev32 {
 413         struct timeval32 tv;
 414         uint32_t serial;
 415 };
 416 #endif /* _SYSCALL32 */
 417