ioctl_tty.2: ffix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2020-07-30 12:06:11 +02:00
parent 490f9b6c2b
commit 322522ea3b
1 changed files with 9 additions and 9 deletions

View File

@ -32,26 +32,26 @@ whenever possible.
.BI "TCGETS struct termios *" argp
Equivalent to
.IR "tcgetattr(fd, argp)" .
.br
.IP
Get the current serial port settings.
.TP
.BI "TCSETS const struct termios *" argp
Equivalent to
.IR "tcsetattr(fd, TCSANOW, argp)" .
.br
.IP
Set the current serial port settings.
.TP
.BI "TCSETSW const struct termios *" argp
Equivalent to
.IR "tcsetattr(fd, TCSADRAIN, argp)" .
.br
.IP
Allow the output buffer to drain, and
set the current serial port settings.
.TP
.BI "TCSETSF const struct termios *" argp
Equivalent to
.IR "tcsetattr(fd, TCSAFLUSH, argp)" .
.br
.IP
Allow the output buffer to drain, discard pending input, and
set the current serial port settings.
.PP
@ -130,7 +130,7 @@ foreground process group.
.BI "TCSBRK int " arg
Equivalent to
.IR "tcsendbreak(fd, arg)" .
.br
.IP
If the terminal is using asynchronous serial data transmission, and
.I arg
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
Equivalent to
.IR "tcflow(fd, arg)" .
.br
.IP
See
.BR tcflow (3)
for the argument values
@ -201,7 +201,7 @@ Get the number of bytes in the output buffer.
.BI "TCFLSH int " arg
Equivalent to
.IR "tcflush(fd, arg)" .
.br
.IP
See
.BR tcflush (3)
for the argument values
@ -270,13 +270,13 @@ and all processes in the current session lose their controlling terminal.
.BI "TIOCGPGRP pid_t *" argp
When successful, equivalent to
.IR "*argp = tcgetpgrp(fd)" .
.br
.IP
Get the process group ID of the foreground process group on this terminal.
.TP
.BI "TIOCSPGRP const pid_t *" argp
Equivalent to
.IR "tcsetpgrp(fd, *argp)" .
.br
.IP
Set the foreground process group ID of this terminal.
.TP
.BI "TIOCGSID pid_t *" argp