aboutsummaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1997-03-19 00:52:58 +0000
committerBruce Evans <bde@FreeBSD.org>1997-03-19 00:52:58 +0000
commit09589ca82ea8ceaa26a6c2f4792742019a162827 (patch)
tree391279054895e95c71e1c8e17cc6241b506fa514 /lib/libc
parent7a30f183974d754fc6cdeff060de0bcf8557a753 (diff)
Notes
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/gen/getcap.32
-rw-r--r--lib/libc/gen/getnetgrent.34
-rw-r--r--lib/libc/gen/tcsetattr.36
-rw-r--r--lib/libc/locale/multibyte.32
-rw-r--r--lib/libc/stdio/printf.32
5 files changed, 8 insertions, 8 deletions
diff --git a/lib/libc/gen/getcap.3 b/lib/libc/gen/getcap.3
index 548bd552eb47..3aef9afe1f24 100644
--- a/lib/libc/gen/getcap.3
+++ b/lib/libc/gen/getcap.3
@@ -58,7 +58,7 @@
.Ft int
.Fn cgetmatch "char *buf" "char *name"
.Ft char *
-.Fn cgetcap "char *buf" "char *cap" "char type"
+.Fn cgetcap "char *buf" "char *cap" "int type"
.Ft int
.Fn cgetnum "char *buf" "char *cap" "long *num"
.Ft int
diff --git a/lib/libc/gen/getnetgrent.3 b/lib/libc/gen/getnetgrent.3
index 07d58063a4ac..38da3c008a50 100644
--- a/lib/libc/gen/getnetgrent.3
+++ b/lib/libc/gen/getnetgrent.3
@@ -42,9 +42,9 @@
.Nd netgroup database operations
.Sh SYNOPSIS
.Ft int
-.Fn getnetgrent "char **host, char **user, char **domain"
+.Fn getnetgrent "char **host" "char **user" "char **domain"
.Ft int
-.Fn innetgr "const char *netgroup, const char *host, const char *user, const char *domain"
+.Fn innetgr "const char *netgroup" "const char *host" "const char *user" "const char *domain"
.Ft void
.Fn setnetgrent "const char *netgroup"
.Ft void
diff --git a/lib/libc/gen/tcsetattr.3 b/lib/libc/gen/tcsetattr.3
index 1eb6ae817433..ffd4177d9920 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 ,
diff --git a/lib/libc/locale/multibyte.3 b/lib/libc/locale/multibyte.3
index 7546cb21e7ad..b3df481b9371 100644
--- a/lib/libc/locale/multibyte.3
+++ b/lib/libc/locale/multibyte.3
@@ -47,7 +47,7 @@
.Sh SYNOPSIS
.Fd #include <stdlib.h>
.Ft int
-.Fn mblen "const char *mbchar" "int nbytes"
+.Fn mblen "const char *mbchar" "size_t nbytes"
.Ft size_t
.Fn mbstowcs "wchar_t *wcstring" "const char *mbstring" "size_t nwchars"
.Ft int
diff --git a/lib/libc/stdio/printf.3 b/lib/libc/stdio/printf.3
index 2ff5238f9a9f..6d5ad8a298a5 100644
--- a/lib/libc/stdio/printf.3
+++ b/lib/libc/stdio/printf.3
@@ -68,7 +68,7 @@
.Ft int
.Fn vfprintf "FILE *stream" "const char *format" "va_list ap"
.Ft int
-.Fn vsprintf "char *str" "char *format" "va_list ap"
+.Fn vsprintf "char *str" "const char *format" "va_list ap"
.Ft int
.Fn vsnprintf "char *str" "size_t size" "const char *format" "va_list ap"
.Ft int