summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/tcsetattr.3
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1997-03-19 00:52:58 +0000
committerbde <bde@FreeBSD.org>1997-03-19 00:52:58 +0000
commit4cc11f6a3dfbffa16c59ce9bad344c639752c164 (patch)
tree0e283dc92bddeb19f70bf4d7e79f452871caa476 /lib/libc/gen/tcsetattr.3
parent3f60b44c4e1d5ee7cf4586b1ef7598eefa359b9f (diff)
downloadFreeBSD-src-4cc11f6a3dfbffa16c59ce9bad344c639752c164.zip
FreeBSD-src-4cc11f6a3dfbffa16c59ce9bad344c639752c164.tar.gz
FIxed arg types (mostly missing consts) in synopsis.
Diffstat (limited to 'lib/libc/gen/tcsetattr.3')
-rw-r--r--lib/libc/gen/tcsetattr.36
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/gen/tcsetattr.3 b/lib/libc/gen/tcsetattr.3
index 1eb6ae8..ffd4177 100644
--- a/lib/libc/gen/tcsetattr.3
+++ b/lib/libc/gen/tcsetattr.3
@@ -47,11 +47,11 @@
.Sh SYNOPSIS
.Fd #include <termios.h>
.Ft speed_t
-.Fn cfgetispeed "struct termios *t"
+.Fn cfgetispeed "const struct termios *t"
.Ft int
.Fn cfsetispeed "struct termios *t" "speed_t speed"
.Ft speed_t
-.Fn cfgetospeed "struct termios *t"
+.Fn cfgetospeed "const struct termios *t"
.Ft int
.Fn cfsetospeed "struct termios *t" "speed_t speed"
.Ft int
@@ -61,7 +61,7 @@
.Ft int
.Fn tcgetattr "int fd" "struct termios *t"
.Ft int
-.Fn tcsetattr "int fd" "int action" "struct termios *t"
+.Fn tcsetattr "int fd" "int action" "const struct termios *t"
.Sh DESCRIPTION
The
.Fn cfmakeraw ,
OpenPOWER on IntegriCloud