From 4961e71d7fc97debeed4e6af09a31e33dad20689 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Thu, 16 Oct 2008 16:18:44 +0200 Subject: [PATCH] tty_ioctl.4: ffix --- man4/tty_ioctl.4 | 26 +++++++++++++++++--------- 1 file changed, 17 insertions(+), 9 deletions(-) diff --git a/man4/tty_ioctl.4 b/man4/tty_ioctl.4 index cf1a45834..f9420cc03 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