From a53fba5e42816559ff24600cffeb255a079f15d2 Mon Sep 17 00:00:00 2001 From: Alejandro Colomar Date: Sun, 8 Aug 2021 10:41:27 +0200 Subject: [PATCH] termios.3: ffix Format variable parts of words referring to a group of identifiers in italics, following groff_man(7) recommendations. Also srcfix surrounding uses of \f escape sequences to use macros Signed-off-by: Alejandro Colomar Signed-off-by: Michael Kerrisk --- man3/termios.3 | 24 +++++++++++++++++------- 1 file changed, 17 insertions(+), 7 deletions(-) diff --git a/man3/termios.3 b/man3/termios.3 index 7023025e7..4fbd34a52 100644 --- a/man3/termios.3 +++ b/man3/termios.3 @@ -960,28 +960,38 @@ to by \fItermios_p\fP to \fIspeed\fP, which must be one of these constants: .ft P .fi .PP -The zero baud rate, \fBB0\fP, +The zero baud rate, +.BR B0 , is used to terminate the connection. If B0 is specified, the modem control lines shall no longer be asserted. Normally, this will disconnect the line. -\fBCBAUDEX\fP is a mask +.B CBAUDEX +is a mask for the speeds beyond those defined in POSIX.1 (57600 and above). -Thus, \fBB57600\fP & \fBCBAUDEX\fP is nonzero. +Thus, +.BR B57600 " & " CBAUDEX +is nonzero. .PP Setting the baud rate to a value other than those defined by -.B Bnnn +.BI B nnn constants is possible via the .B TCSETS2 ioctl; see .BR ioctl_tty (2). .PP .BR cfgetispeed () -returns the input baud rate stored in the \fItermios\fP structure. +returns the input baud rate stored in the +.I termios +structure. .PP .BR cfsetispeed () -sets the input baud rate stored in the \fItermios\fP structure to +sets the input baud rate stored in the +.I termios +structure to .IR speed , -which must be specified as one of the \fBBnnn\fP constants listed above for +which must be specified as one of the +.BI B nnn +constants listed above for .BR cfsetospeed (). If the input baud rate is set to zero, the input baud rate will be equal to the output baud rate.