diff --git a/man4/tty_ioctl.4 b/man4/tty_ioctl.4 index a409e518e..6068c7249 100644 --- a/man4/tty_ioctl.4 +++ b/man4/tty_ioctl.4 @@ -368,20 +368,6 @@ Clear the indicated modem bits. .TP .BI "TIOCMBIS const int *" argp 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 The following bits are used by the above ioctls: @@ -399,6 +385,20 @@ TIOCM_RI see TIOCM_RNG TIOCM_DSR DSR (data set ready) .fi .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 Get counts of input serial line interrupts (DCD, RI, DSR, CTS). The counts are written to the