/*
- * Copyright (c) 2000-2002 Apple Computer, Inc. All rights reserved.
+ * Copyright (c) 2000-2018 Apple Inc. All rights reserved.
*
* @APPLE_OSREFERENCE_LICENSE_HEADER_START@
*
int t_refcnt; /* reference count */
};
-#define TTY_NULL (struct tty *)0
+#define TTY_NULL (struct tty *)NULL
#define t_cc t_termios.c_cc
#define t_cflag t_termios.c_cflag
#endif
#define TS_IOCTL_NOT_OK 0x1000000 /* Workaround <rdar://....> */
-#define TS_PGRPHUP 0x2000000 /* Don't change Foregroud process group */
+#define TS_REVOKE 0x2000000 /* Terminal getting revoked */
/* Character type information. */
#define RETURN 6
struct speedtab {
- int sp_speed; /* Speed. */
- int sp_code; /* Code. */
+ int sp_speed;
+ int sp_code;
};
/* Modem control commands (driver). */
int ttywait(struct tty *tp);
struct tty *ttymalloc(void);
void ttyfree(struct tty *);
-void ttysetpgrphup(struct tty *tp);
-void ttyclrpgrphup(struct tty *tp);
#ifdef XNU_KERNEL_PRIVATE
extern void ttyhold(struct tty *tp);