Re: [PATCH] termios.3: Add information how to set baudrate to any other value

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Pali,

On 7/30/21 5:30 PM, Pali Rohár wrote:
Signed-off-by: Pali Rohár <pali@xxxxxxxxxx>

Please see some comments below.

Thanks,

Alex

---
  man3/termios.3 | 6 ++++++
  1 file changed, 6 insertions(+)

diff --git a/man3/termios.3 b/man3/termios.3
index b7cdec507524..4d4593a33c32 100644
--- a/man3/termios.3
+++ b/man3/termios.3
@@ -967,6 +967,12 @@ Normally, this will disconnect the line.
  \fBCBAUDEX\fP is a mask
  for the speeds beyond those defined in POSIX.1 (57600 and above).
  Thus, \fBB57600\fP & \fBCBAUDEX\fP is nonzero.

I think this should go on a separate paragraph, don't you?

.PP?

+Setting baudrate to other value than defined by

wfix?:

Setting the baud rate to a value other that those defined by

+.B Bnnn
+constants is possible via

s/via/via the/?

+.B TCSETS2
+ioctl, see

s/,/;/

+.BR ioctl_tty (2).
  .PP
  .BR cfgetispeed ()
  returns the input baud rate stored in the \fItermios\fP structure.



--
Alejandro Colomar
Linux man-pages comaintainer; https://www.kernel.org/doc/man-pages/
http://www.alejandro-colomar.es/



[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux