]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/sys/tty.h
xnu-2422.115.4.tar.gz
[apple/xnu.git] / bsd / sys / tty.h
index f0f546c488a6033d85a425c99c9a759e8aaace58..28ee788a5c650f6e92bdc46b8672bc27a14f1eff 100644 (file)
@@ -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 <rdar://....> */
+
 
 /* Character type information. */
 #define        ORDINARY        0