mirror of https://github.com/mkerrisk/man-pages
tty_ioctl.4: Note that 'arg' should be 0 in the usual case when using TIOCSCTTY
Reported-by: Liu Jiaming <storypku@gmail.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
cb476d8850
commit
9ab0de3c43
|
@ -241,6 +241,9 @@ or
|
|||
Make the given terminal the controlling terminal of the calling process.
|
||||
The calling process must be a session leader and not have a
|
||||
controlling terminal already.
|
||||
For this case,
|
||||
.I arg
|
||||
should be specified as zero.
|
||||
|
||||
If this terminal is already the controlling terminal
|
||||
of a different session group then the ioctl fails with
|
||||
|
|
Loading…
Reference in New Issue