X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/2d21ac55c334faf3a56e5634905ed6987fc787d4..99c3a10404e5d1ef94397ab4df5a8b74711fc4d3:/bsd/sys/ttycom.h diff --git a/bsd/sys/ttycom.h b/bsd/sys/ttycom.h index eb6a60830..a9c137862 100644 --- a/bsd/sys/ttycom.h +++ b/bsd/sys/ttycom.h @@ -111,6 +111,10 @@ struct winsize { #define TIOCSETAW _IOW('t', 21, struct termios) /* drain output, set */ #define TIOCSETAF _IOW('t', 22, struct termios) /* drn out, fls in, set */ #ifdef KERNEL +#define TIOCGETA_32 _IOR('t', 19, struct termios32) /* get termios struct */ +#define TIOCSETA_32 _IOW('t', 20, struct termios32) /* set termios struct */ +#define TIOCSETAW_32 _IOW('t', 21, struct termios32) /* drain output, set */ +#define TIOCSETAF_32 _IOW('t', 22, struct termios32) /* drn out, fls in, set */ #define TIOCGETA_64 _IOR('t', 19, struct user_termios) #define TIOCSETA_64 _IOW('t', 20, struct user_termios) #define TIOCSETAW_64 _IOW('t', 21, struct user_termios) @@ -165,8 +169,10 @@ struct winsize { #define TIOCDCDTIMESTAMP _IOR('t', 88, struct timeval) /* enable/get timestamp * of last DCd rise */ #ifdef KERNEL -#define TIOCTIMESTAMP_64 _IOR('t', 89, struct user_timeval) -#define TIOCDCDTIMESTAMP_64 _IOR('t', 88, struct user_timeval) +#define TIOCTIMESTAMP_32 _IOR('t', 89, struct user32_timeval) +#define TIOCDCDTIMESTAMP_32 _IOR('t', 88, struct user32_timeval) +#define TIOCTIMESTAMP_64 _IOR('t', 89, struct user64_timeval) +#define TIOCDCDTIMESTAMP_64 _IOR('t', 88, struct user64_timeval) #endif #define TIOCSDRAINWAIT _IOW('t', 87, int) /* set ttywait timeout */ #define TIOCGDRAINWAIT _IOR('t', 86, int) /* get ttywait timeout */