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
#define TS_DSR_OFLOW 0x800000 /* For CDSR_OFLOW. */
#endif
+#define TS_IOCTL_NOT_OK 0x1000000 /* Workaround <rdar://....> */
+#define TS_PGRPHUP 0x2000000 /* Don't change Foregroud process group */
+
/* Character type information. */
#define ORDINARY 0
int ttywait(struct tty *tp);
struct tty *ttymalloc(void);
void ttyfree(struct tty *);
+void ttysetpgrphup(struct tty *tp);
+void ttyclrpgrphup(struct tty *tp);
__END_DECLS