summaryrefslogtreecommitdiffstats
path: root/sys/sys/ttycom.h
diff options
context:
space:
mode:
authordavidxu <davidxu@FreeBSD.org>2008-04-15 08:33:32 +0000
committerdavidxu <davidxu@FreeBSD.org>2008-04-15 08:33:32 +0000
commita19eeb1bb90be407b05f596feb555c76224c1e2b (patch)
tree437a345c58351750a20a52bed0bde3fe8b3c2678 /sys/sys/ttycom.h
parentc25466ababd0aab3cbbb2d2aed863d6dcf836055 (diff)
downloadFreeBSD-src-a19eeb1bb90be407b05f596feb555c76224c1e2b.zip
FreeBSD-src-a19eeb1bb90be407b05f596feb555c76224c1e2b.tar.gz
Implement POSIX function tcgetsid() which returns session id.
PR: stand/107561
Diffstat (limited to 'sys/sys/ttycom.h')
-rw-r--r--sys/sys/ttycom.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/ttycom.h b/sys/sys/ttycom.h
index 6e59577..21c9792 100644
--- a/sys/sys/ttycom.h
+++ b/sys/sys/ttycom.h
@@ -118,7 +118,7 @@ struct winsize {
#define TIOCSTAT _IO('t', 101) /* simulate ^T status message */
#define UIOCCMD(n) _IO('u', n) /* usr cntl op "n" */
/* 100 see consio.h */
- /* 99 obsolete or unused */
+#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 */
/* 97-90 tun; some conflicts */
OpenPOWER on IntegriCloud