tty_ioctl.4: Document TIOCGEXCL

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2015-05-01 22:44:55 +02:00
parent a3bee85c40
commit 8b17edbeef
1 changed files with 8 additions and 0 deletions

View File

@ -299,6 +299,14 @@ except for a process with the
.BR CAP_SYS_ADMIN
capability.)
.TP
.BI "TIOCGEXCL int *" argp
If the terminal is currently in exclusive mode,
place a nonzero value in the location pointed to by
.IR argp ;
otherwise, place zero in
.IR *argp
(since Linux 3.8).
.TP
.B "TIOCNXCL void"
Disable exclusive mode.
.SS Line discipline