Move TIOCGSID to <sys/ttycom.h>

This commit is contained in:
thorpej 1998-02-13 23:14:52 +00:00
parent 018aa6e97e
commit 357829d876
2 changed files with 3 additions and 4 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: ioctl_compat.h,v 1.10 1995/03/31 03:10:15 christos Exp $ */
/* $NetBSD: ioctl_compat.h,v 1.11 1998/02/13 23:14:52 thorpej Exp $ */
/*
* Copyright (c) 1990, 1993
@ -166,6 +166,4 @@ struct sgttyb {
#define NETLDISC 1
#define NTTYDISC 2
#define TIOCGSID _IOR('t', 99, int) /* For svr4 -- get session id */
#endif /* !_SYS_IOCTL_COMPAT_H_ */

View File

@ -1,4 +1,4 @@
/* $NetBSD: ttycom.h,v 1.6 1997/10/20 08:04:28 scottr Exp $ */
/* $NetBSD: ttycom.h,v 1.7 1998/02/13 23:14:53 thorpej Exp $ */
/*-
* Copyright (c) 1982, 1986, 1990, 1993, 1994
@ -116,6 +116,7 @@ struct winsize {
#define TIOCUCNTL _IOW('t', 102, int) /* pty: set/clr usr cntl mode */
#define TIOCSTAT _IOW('t', 101, int) /* generate status message */
#define UIOCCMD(n) _IO('u', n) /* usr cntl op "n" */
#define TIOCGSID _IOR('t', 99, int) /* get session id */
#define TIOCCONS _IOW('t', 98, int) /* become virtual console */
#define TIOCSCTTY _IO('t', 97) /* become controlling tty */
#define TIOCEXT _IOW('t', 96, int) /* pty: external processing */