diff options
author | dg <dg@FreeBSD.org> | 1994-11-30 15:02:43 +0000 |
---|---|---|
committer | dg <dg@FreeBSD.org> | 1994-11-30 15:02:43 +0000 |
commit | 14e675c028e22a6aff358d9db1fea6a7d87d3823 (patch) | |
tree | d347b6c3b98fc852f922d103131253ca07c0cba5 /sys/sys/ttycom.h | |
parent | 505a412d4d3557cc80ab98f1af2551acb13b0897 (diff) | |
download | FreeBSD-src-14e675c028e22a6aff358d9db1fea6a7d87d3823.zip FreeBSD-src-14e675c028e22a6aff358d9db1fea6a7d87d3823.tar.gz |
Changed the TIOCSTAT ioctl to a no argument type so that tcsh and friends
don't have to pass in the address of a bogus variable just to make ioctl
happy.
Diffstat (limited to 'sys/sys/ttycom.h')
-rw-r--r-- | sys/sys/ttycom.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/ttycom.h b/sys/sys/ttycom.h index 5d221f1..320d3eb 100644 --- a/sys/sys/ttycom.h +++ b/sys/sys/ttycom.h @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)ttycom.h 8.1 (Berkeley) 3/28/94 - * $Id: ttycom.h,v 1.4 1994/08/18 09:16:37 davidg Exp $ + * $Id: ttycom.h,v 1.5 1994/09/13 03:19:19 phk Exp $ */ #ifndef _SYS_TTYCOM_H_ @@ -115,7 +115,7 @@ struct winsize { #define TIOCGWINSZ _IOR('t', 104, struct winsize) /* get window size */ #define TIOCSWINSZ _IOW('t', 103, struct winsize) /* set window size */ #define TIOCUCNTL _IOW('t', 102, int) /* pty: set/clr usr cntl mode */ -#define TIOCSTAT _IOW('t', 101, int) /* simulate a control-T status msg */ +#define TIOCSTAT _IO('t', 101) /* simulate a control-T status msg */ #define UIOCCMD(n) _IO('u', n) /* usr cntl op "n" */ #define TIOCCONS _IOW('t', 98, int) /* become virtual console */ #define TIOCSCTTY _IO('t', 97) /* become controlling tty */ |