mirror of https://github.com/mkerrisk/man-pages
tty_ioctl.4: Reorder text
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
e1215bb9dd
commit
415563825b
|
@ -368,20 +368,6 @@ Clear the indicated modem bits.
|
||||||
.TP
|
.TP
|
||||||
.BI "TIOCMBIS const int *" argp
|
.BI "TIOCMBIS const int *" argp
|
||||||
Set the indicated modem bits.
|
Set the indicated modem bits.
|
||||||
.TP
|
|
||||||
.BI "TIOCMIWAIT int " arg
|
|
||||||
Wait for any of the 4 modem bits (DCD, RI, DSR, CTS) to change.
|
|
||||||
The bits of interest are specified as a bit mask in
|
|
||||||
.IR arg ,
|
|
||||||
by ORing together any of the bit values,
|
|
||||||
.BR TIOCM_RNG ,
|
|
||||||
.BR TIOCM_DSR ,
|
|
||||||
.BR TIOCM_CD ,
|
|
||||||
and
|
|
||||||
.BR TIOCM_CTS .
|
|
||||||
The caller should use
|
|
||||||
.B TIOCGICOUNT
|
|
||||||
to see which bit has changed.
|
|
||||||
.LP
|
.LP
|
||||||
The following bits are used by the above ioctls:
|
The following bits are used by the above ioctls:
|
||||||
|
|
||||||
|
@ -399,6 +385,20 @@ TIOCM_RI see TIOCM_RNG
|
||||||
TIOCM_DSR DSR (data set ready)
|
TIOCM_DSR DSR (data set ready)
|
||||||
.fi
|
.fi
|
||||||
.TP
|
.TP
|
||||||
|
.BI "TIOCMIWAIT int " arg
|
||||||
|
Wait for any of the 4 modem bits (DCD, RI, DSR, CTS) to change.
|
||||||
|
The bits of interest are specified as a bit mask in
|
||||||
|
.IR arg ,
|
||||||
|
by ORing together any of the bit values,
|
||||||
|
.BR TIOCM_RNG ,
|
||||||
|
.BR TIOCM_DSR ,
|
||||||
|
.BR TIOCM_CD ,
|
||||||
|
and
|
||||||
|
.BR TIOCM_CTS .
|
||||||
|
The caller should use
|
||||||
|
.B TIOCGICOUNT
|
||||||
|
to see which bit has changed.
|
||||||
|
.TP
|
||||||
.BI "TIOCGICOUNT struct serial_icounter_struct *" argp
|
.BI "TIOCGICOUNT struct serial_icounter_struct *" argp
|
||||||
Get counts of input serial line interrupts (DCD, RI, DSR, CTS).
|
Get counts of input serial line interrupts (DCD, RI, DSR, CTS).
|
||||||
The counts are written to the
|
The counts are written to the
|
||||||
|
|
Loading…
Reference in New Issue