X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/b0d623f7f2ae71ed96e60569f61f9a9a27016e80..143464d58d2bd6378e74eec636961ceb0d32fb91:/bsd/sys/tty.h diff --git a/bsd/sys/tty.h b/bsd/sys/tty.h index f0f546c48..28ee788a5 100644 --- a/bsd/sys/tty.h +++ b/bsd/sys/tty.h @@ -144,6 +144,7 @@ struct tty { int t_lowat; /* Low water mark. */ int t_gen; /* Generation number. */ void *t_iokit; /* IOKit management */ + int t_refcnt; /* reference count */ }; #define TTY_NULL (struct tty *)0 @@ -220,6 +221,8 @@ struct clist; #define TS_DSR_OFLOW 0x800000 /* For CDSR_OFLOW. */ #endif +#define TS_IOCTL_NOT_OK 0x1000000 /* Workaround */ + /* Character type information. */ #define ORDINARY 0