aboutsummaryrefslogtreecommitdiffstats
path: root/man4/tty.4
diff options
context:
space:
mode:
Diffstat (limited to 'man4/tty.4')
-rw-r--r--man4/tty.412
1 files changed, 9 insertions, 3 deletions
diff --git a/man4/tty.4 b/man4/tty.4
index d9fdece164..a5ddcc52b5 100644
--- a/man4/tty.4
+++ b/man4/tty.4
@@ -31,8 +31,12 @@ The file \fI/dev/tty\fP is a character file with major number 5 and
minor number 0, usually of mode 0666 and owner.group root.tty.
It is a synonym for the controlling terminal of a process, if any.
.LP
-In addition to the \fBioctl\fP(2) requests supported by the device that
-\fBtty\fP refers to, the \fBioctl\fP(2) request \fBTIOCNOTTY\fP is supported.
+In addition to the
+.BR ioctl (2)
+requests supported by the device that
+\fBtty\fP refers to, the
+.BR ioctl (2)
+request \fBTIOCNOTTY\fP is supported.
.SS TIOCNOTTY
Detach the current process from its controlling terminal.
.sp
@@ -40,7 +44,9 @@ If the process is the session leader,
then SIGHUP and SIGCONT signals are sent to the foreground process group
and all processes in the current session lose their controlling tty.
.sp
-This \fBioctl\fP(2) call only works on file descriptors connected
+This
+.BR ioctl (2)
+call only works on file descriptors connected
to \fI/dev/tty\fP.
It is used by daemon processes when they are invoked
by a user at a terminal.