summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2005-04-14 19:58:21 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2005-04-14 19:58:21 +0000
commit4d82c075e7b63f837e4c1533db43dab3ce29467a (patch)
treea9934655ea2382edb04ec9aa8411244c55cbbf03 /lib/libc
parent5bb8e812e9a48d6b6fd13531a5ff875a4a628451 (diff)
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).
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/termios/tcsetattr.312
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