mirror of https://github.com/mkerrisk/man-pages
tty_ioctl.4: ffix
This commit is contained in:
parent
e5f53fe5ad
commit
4961e71d7f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue