aboutsummaryrefslogtreecommitdiffstats
path: root/man4
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2008-10-16 16:18:44 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2008-10-29 14:54:09 -0500
commit4961e71d7fc97debeed4e6af09a31e33dad20689 (patch)
treeef94717e6c582e9db4688346834ba5a354225bc1 /man4
parente5f53fe5adbdb438194fc5e9055a88ae5885d307 (diff)
downloadman-pages-4961e71d7fc97debeed4e6af09a31e33dad20689.tar.gz
tty_ioctl.4: ffix
Diffstat (limited to 'man4')
-rw-r--r--man4/tty_ioctl.426
1 files changed, 17 insertions, 9 deletions
diff --git a/man4/tty_ioctl.4 b/man4/tty_ioctl.4
index cf1a458344..f9420cc036 100644
--- a/man4/tty_ioctl.4
+++ b/man4/tty_ioctl.4
@@ -68,18 +68,23 @@ instead of a
.TP
.BI "TCSETAF const struct termio *" argp
.SS "Locking the termios structure"
-The termios structure of a tty can be locked.
-The lock is itself
-a termios structure, with non-zero bits or fields indicating a
+The
+.I termios
+structure of a tty can be locked.
+The lock is itself a
+.I termios
+structure, with non-zero bits or fields indicating a
locked value.
.TP
.BI "TIOCGLCKTRMIOS struct termios *" argp
-Gets the locking status of the termios structure of
-the terminal.
+Gets the locking status of the
+.I termios
+structure of the terminal.
.TP
.BI "TIOCSLCKTRMIOS const struct termios *" argp
-Sets the locking status of the termios structure of
-the terminal.
+Sets the locking status of the
+.I termios
+structure of the terminal.
Only root can do this.
.SS "Get and Set Window Size"
Window sizes are kept in the kernel, but not used by the kernel
@@ -364,11 +369,14 @@ TIOCM_DSR DSR (data set ready)
.BI "TIOCGSOFTCAR int *" argp
("Get software carrier flag")
Get the status of the CLOCAL flag in the c_cflag field of the
-termios structure.
+.I termios
+structure.
.TP
.BI "TIOCSSOFTCAR const int *" argp
("Set software carrier flag")
-Set the CLOCAL flag in the termios structure when
+Set the CLOCAL flag in the
+.I termios
+structure when
.RI * argp
is non-zero, and clear it otherwise.
.LP