[PATCH] termios.3: Clarify zero argument for cfsetispeed()

Pali Rohár
2021-08-30T11:26:41Z

Zero in this case refers to literal constant 0 and not symbolic constant B0.

Signed-off-by: Pali Rohár <pali@kernel.org>
---
man3/termios.3 | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/man3/termios.3 b/man3/termios.3
index c96a5c15ec87..f888c15d754c 100644
--- a/man3/termios.3
+++ b/man3/termios.3
@@ -1017,7 +1017,11 @@ 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
+If the input baud rate is set to literal constant
+.B 0
+(not the symbolic constant
+.BR B0 ),
+the input baud rate will be
equal to the output baud rate.
.PP
.BR cfsetspeed ()
--
2.20.1