mirror of https://github.com/mkerrisk/man-pages
tty_ioctl.4: wfix: s/pty/pseudoterminal/
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
b5fa38a31f
commit
922a35c0dc
|
@ -215,7 +215,7 @@ Redirect output that would have gone to
|
||||||
or
|
or
|
||||||
.I /dev/tty0
|
.I /dev/tty0
|
||||||
to the given tty.
|
to the given tty.
|
||||||
If that was a pty master, send it to the slave.
|
If that was a pseudoterminal master, send it to the slave.
|
||||||
In Linux before version 2.6.10,
|
In Linux before version 2.6.10,
|
||||||
anybody can do this as long as the output was not redirected yet;
|
anybody can do this as long as the output was not redirected yet;
|
||||||
since version 2.6.10, only root (a process with the
|
since version 2.6.10, only root (a process with the
|
||||||
|
@ -274,7 +274,7 @@ Set the foreground process group ID of this tty.
|
||||||
Get the session ID of the given tty.
|
Get the session ID of the given tty.
|
||||||
This will fail with
|
This will fail with
|
||||||
.B ENOTTY
|
.B ENOTTY
|
||||||
in case the tty is not a master pty and not our controlling tty.
|
in case the tty is not a master pseudoterminal and not our controlling tty.
|
||||||
Strange.
|
Strange.
|
||||||
.SS "Exclusive mode"
|
.SS "Exclusive mode"
|
||||||
.TP
|
.TP
|
||||||
|
@ -311,7 +311,7 @@ In packet mode, each subsequent
|
||||||
.BR read (2)
|
.BR read (2)
|
||||||
will return a packet that either contains a single non-zero control byte,
|
will return a packet that either contains a single non-zero control byte,
|
||||||
or has a single byte containing zero (\(aq\0\(aq) followed by data
|
or has a single byte containing zero (\(aq\0\(aq) followed by data
|
||||||
written on the slave side of the pty.
|
written on the slave side of the pseudoterminal.
|
||||||
If the first byte is not
|
If the first byte is not
|
||||||
.B TIOCPKT_DATA
|
.B TIOCPKT_DATA
|
||||||
(0), it is an OR of one
|
(0), it is an OR of one
|
||||||
|
|
Loading…
Reference in New Issue