diff options
author | 2005-04-14 19:58:20 +0000 | |
---|---|---|
committer | 2005-04-14 19:58:20 +0000 | |
commit | 71019e05bb8dd67f4f49d6f54625d48716b13bc2 (patch) | |
tree | 329f7ac8cafd654a5d774c69e2c93a17eda00a7a | |
parent | +luphy (diff) | |
download | wireguard-openbsd-71019e05bb8dd67f4f49d6f54625d48716b13bc2.tar.xz wireguard-openbsd-71019e05bb8dd67f4f49d6f54625d48716b13bc2.zip |
The value of the Bxxx defines are not guaranteed to match their value.
E.g. B9600 is not guaranteed to have a value of 9600 (on OpenBSD it does).
-rw-r--r-- | lib/libc/termios/tcsetattr.3 | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/lib/libc/termios/tcsetattr.3 b/lib/libc/termios/tcsetattr.3 index f24e7b8f72d..d561857734f 100644 --- a/lib/libc/termios/tcsetattr.3 +++ b/lib/libc/termios/tcsetattr.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: tcsetattr.3,v 1.13 2003/06/02 20:18:39 millert Exp $ +.\" $OpenBSD: tcsetattr.3,v 1.14 2005/04/14 19:58:20 millert Exp $ .\" .\" Copyright (c) 1991 The Regents of the University of California. .\" All rights reserved. @@ -99,9 +99,13 @@ The unsigned integer .Li speed_t is typedef'd in the include file .Aq Pa termios.h . -The value of the integer corresponds directly to the baud rate being -represented; however, the following symbolic values are also defined. -.Bd -literal +On +.Ox , +the value of the integer corresponds directly to the baud rate being +represented. +However, this is not true of all systems and new code should use the +symbolic value for maximum portability. +.Bd -literal -offset indent #define B0 0 #define B50 50 #define B75 75 |