tty_ioctl.4: ffix

This commit is contained in:
Michael Kerrisk 2008-10-16 16:18:44 +02:00
parent e5f53fe5ad
commit 4961e71d7f
1 changed files with 17 additions and 9 deletions

View File

@ -68,18 +68,23 @@ instead of a
.TP .TP
.BI "TCSETAF const struct termio *" argp .BI "TCSETAF const struct termio *" argp
.SS "Locking the termios structure" .SS "Locking the termios structure"
The termios structure of a tty can be locked. The
The lock is itself .I termios
a termios structure, with non-zero bits or fields indicating a 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. locked value.
.TP .TP
.BI "TIOCGLCKTRMIOS struct termios *" argp .BI "TIOCGLCKTRMIOS struct termios *" argp
Gets the locking status of the termios structure of Gets the locking status of the
the terminal. .I termios
structure of the terminal.
.TP .TP
.BI "TIOCSLCKTRMIOS const struct termios *" argp .BI "TIOCSLCKTRMIOS const struct termios *" argp
Sets the locking status of the termios structure of Sets the locking status of the
the terminal. .I termios
structure of the terminal.
Only root can do this. Only root can do this.
.SS "Get and Set Window Size" .SS "Get and Set Window Size"
Window sizes are kept in the kernel, but not used by the kernel 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 .BI "TIOCGSOFTCAR int *" argp
("Get software carrier flag") ("Get software carrier flag")
Get the status of the CLOCAL flag in the c_cflag field of the Get the status of the CLOCAL flag in the c_cflag field of the
termios structure. .I termios
structure.
.TP .TP
.BI "TIOCSSOFTCAR const int *" argp .BI "TIOCSSOFTCAR const int *" argp
("Set software carrier flag") ("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 .RI * argp
is non-zero, and clear it otherwise. is non-zero, and clear it otherwise.
.LP .LP