diff options
author | phk <phk@FreeBSD.org> | 2004-06-09 09:09:54 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2004-06-09 09:09:54 +0000 |
commit | 6c64927139b3c6d9d3e54baeaf0c8d0ba929ebf8 (patch) | |
tree | ac2c601310a475fbefa1fa13fac1a0a35c3860b1 /sys/kern | |
parent | 59caf70bb9c804ad96b6a44dad50092c28748818 (diff) | |
download | FreeBSD-src-6c64927139b3c6d9d3e54baeaf0c8d0ba929ebf8.zip FreeBSD-src-6c64927139b3c6d9d3e54baeaf0c8d0ba929ebf8.tar.gz |
Move PTY private defines into PTY private files.
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/tty_pty.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/kern/tty_pty.c b/sys/kern/tty_pty.c index 599b0b0..197d86c 100644 --- a/sys/kern/tty_pty.c +++ b/sys/kern/tty_pty.c @@ -119,6 +119,10 @@ struct pt_ioctl { #define PF_NOSTOP 0x40 #define PF_UCNTL 0x80 /* user control mode */ +#define TSA_PTC_READ(tp) ((void *)&(tp)->t_outq.c_cf) +#define TSA_PTC_WRITE(tp) ((void *)&(tp)->t_rawq.c_cl) +#define TSA_PTS_READ(tp) ((void *)&(tp)->t_canq) + static char *names = "pqrsPQRS"; /* * This function creates and initializes a pts/ptc pair |