mirror of https://github.com/mkerrisk/man-pages
ioctl_tty.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
490f9b6c2b
commit
322522ea3b
|
@ -32,26 +32,26 @@ whenever possible.
|
||||||
.BI "TCGETS struct termios *" argp
|
.BI "TCGETS struct termios *" argp
|
||||||
Equivalent to
|
Equivalent to
|
||||||
.IR "tcgetattr(fd, argp)" .
|
.IR "tcgetattr(fd, argp)" .
|
||||||
.br
|
.IP
|
||||||
Get the current serial port settings.
|
Get the current serial port settings.
|
||||||
.TP
|
.TP
|
||||||
.BI "TCSETS const struct termios *" argp
|
.BI "TCSETS const struct termios *" argp
|
||||||
Equivalent to
|
Equivalent to
|
||||||
.IR "tcsetattr(fd, TCSANOW, argp)" .
|
.IR "tcsetattr(fd, TCSANOW, argp)" .
|
||||||
.br
|
.IP
|
||||||
Set the current serial port settings.
|
Set the current serial port settings.
|
||||||
.TP
|
.TP
|
||||||
.BI "TCSETSW const struct termios *" argp
|
.BI "TCSETSW const struct termios *" argp
|
||||||
Equivalent to
|
Equivalent to
|
||||||
.IR "tcsetattr(fd, TCSADRAIN, argp)" .
|
.IR "tcsetattr(fd, TCSADRAIN, argp)" .
|
||||||
.br
|
.IP
|
||||||
Allow the output buffer to drain, and
|
Allow the output buffer to drain, and
|
||||||
set the current serial port settings.
|
set the current serial port settings.
|
||||||
.TP
|
.TP
|
||||||
.BI "TCSETSF const struct termios *" argp
|
.BI "TCSETSF const struct termios *" argp
|
||||||
Equivalent to
|
Equivalent to
|
||||||
.IR "tcsetattr(fd, TCSAFLUSH, argp)" .
|
.IR "tcsetattr(fd, TCSAFLUSH, argp)" .
|
||||||
.br
|
.IP
|
||||||
Allow the output buffer to drain, discard pending input, and
|
Allow the output buffer to drain, discard pending input, and
|
||||||
set the current serial port settings.
|
set the current serial port settings.
|
||||||
.PP
|
.PP
|
||||||
|
@ -130,7 +130,7 @@ foreground process group.
|
||||||
.BI "TCSBRK int " arg
|
.BI "TCSBRK int " arg
|
||||||
Equivalent to
|
Equivalent to
|
||||||
.IR "tcsendbreak(fd, arg)" .
|
.IR "tcsendbreak(fd, arg)" .
|
||||||
.br
|
.IP
|
||||||
If the terminal is using asynchronous serial data transmission, and
|
If the terminal is using asynchronous serial data transmission, and
|
||||||
.I arg
|
.I arg
|
||||||
is zero, then send a break (a stream of zero bits) for between
|
is zero, then send a break (a stream of zero bits) for between
|
||||||
|
@ -178,7 +178,7 @@ Turn break off, that is, stop sending zero bits.
|
||||||
.BI "TCXONC int " arg
|
.BI "TCXONC int " arg
|
||||||
Equivalent to
|
Equivalent to
|
||||||
.IR "tcflow(fd, arg)" .
|
.IR "tcflow(fd, arg)" .
|
||||||
.br
|
.IP
|
||||||
See
|
See
|
||||||
.BR tcflow (3)
|
.BR tcflow (3)
|
||||||
for the argument values
|
for the argument values
|
||||||
|
@ -201,7 +201,7 @@ Get the number of bytes in the output buffer.
|
||||||
.BI "TCFLSH int " arg
|
.BI "TCFLSH int " arg
|
||||||
Equivalent to
|
Equivalent to
|
||||||
.IR "tcflush(fd, arg)" .
|
.IR "tcflush(fd, arg)" .
|
||||||
.br
|
.IP
|
||||||
See
|
See
|
||||||
.BR tcflush (3)
|
.BR tcflush (3)
|
||||||
for the argument values
|
for the argument values
|
||||||
|
@ -270,13 +270,13 @@ and all processes in the current session lose their controlling terminal.
|
||||||
.BI "TIOCGPGRP pid_t *" argp
|
.BI "TIOCGPGRP pid_t *" argp
|
||||||
When successful, equivalent to
|
When successful, equivalent to
|
||||||
.IR "*argp = tcgetpgrp(fd)" .
|
.IR "*argp = tcgetpgrp(fd)" .
|
||||||
.br
|
.IP
|
||||||
Get the process group ID of the foreground process group on this terminal.
|
Get the process group ID of the foreground process group on this terminal.
|
||||||
.TP
|
.TP
|
||||||
.BI "TIOCSPGRP const pid_t *" argp
|
.BI "TIOCSPGRP const pid_t *" argp
|
||||||
Equivalent to
|
Equivalent to
|
||||||
.IR "tcsetpgrp(fd, *argp)" .
|
.IR "tcsetpgrp(fd, *argp)" .
|
||||||
.br
|
.IP
|
||||||
Set the foreground process group ID of this terminal.
|
Set the foreground process group ID of this terminal.
|
||||||
.TP
|
.TP
|
||||||
.BI "TIOCGSID pid_t *" argp
|
.BI "TIOCGSID pid_t *" argp
|
||||||
|
|
Loading…
Reference in New Issue