]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
termios.3: Add information how to set baud rate to any other value
authorPali Rohár <pali@kernel.org>
Sun, 8 Aug 2021 08:41:25 +0000 (10:41 +0200)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Mon, 9 Aug 2021 00:32:37 +0000 (02:32 +0200)
Signed-off-by: Pali Rohár <pali@kernel.org>
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man3/termios.3

index b7cdec50752425325178b9629d28dd6256a06a57..7023025e78a9f9045402a30d586945f734f7d32f 100644 (file)
@@ -968,6 +968,13 @@ Normally, this will disconnect the line.
 for the speeds beyond those defined in POSIX.1 (57600 and above).
 Thus, \fBB57600\fP & \fBCBAUDEX\fP is nonzero.
 .PP
+Setting the baud rate to a value other than those defined by
+.B Bnnn
+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.
 .PP