summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2005-11-23 15:44:42 +0000
committerru <ru@FreeBSD.org>2005-11-23 15:44:42 +0000
commit906caa442cfcbefced56eaa4896a8986354ba07f (patch)
tree823a196bede43b731607c61449db74204d81a3fc /lib
parentbaae9ec4559c229811288e1ec38600eb4643389e (diff)
downloadFreeBSD-src-906caa442cfcbefced56eaa4896a8986354ba07f.zip
FreeBSD-src-906caa442cfcbefced56eaa4896a8986354ba07f.tar.gz
Make SYNOPSIS compile after imp@'s changes.
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/gen/getcap.316
-rw-r--r--lib/libc/gen/pwcache.36
2 files changed, 11 insertions, 11 deletions
diff --git a/lib/libc/gen/getcap.3 b/lib/libc/gen/getcap.3
index 9cba027..ed926aa 100644
--- a/lib/libc/gen/getcap.3
+++ b/lib/libc/gen/getcap.3
@@ -35,7 +35,7 @@
.\" @(#)getcap.3 8.4 (Berkeley) 5/13/94
.\" $FreeBSD$
.\"
-.Dd May 13, 1994
+.Dd March 22, 2002
.Dt GETCAP 3
.Os
.Sh NAME
@@ -55,19 +55,19 @@
.Sh SYNOPSIS
.In stdlib.h
.Ft int
-.Fn cgetent "char **buf" "char **db_array" "char *name"
+.Fn cgetent "char **buf" "char **db_array" "const char *name"
.Ft int
-.Fn cgetset "char *ent"
+.Fn cgetset "const char *ent"
.Ft int
-.Fn cgetmatch "char *buf" "char *name"
+.Fn cgetmatch "const char *buf" "const char *name"
.Ft char *
-.Fn cgetcap "char *buf" "char *cap" "int type"
+.Fn cgetcap "char *buf" "const char *cap" "int type"
.Ft int
-.Fn cgetnum "char *buf" "char *cap" "long *num"
+.Fn cgetnum "char *buf" "const char *cap" "long *num"
.Ft int
-.Fn cgetstr "char *buf" "char *cap" "char **str"
+.Fn cgetstr "char *buf" "const char *cap" "char **str"
.Ft int
-.Fn cgetustr "char *buf" "char *cap" "char **str"
+.Fn cgetustr "char *buf" "const char *cap" "char **str"
.Ft int
.Fn cgetfirst "char **buf" "char **db_array"
.Ft int
diff --git a/lib/libc/gen/pwcache.3 b/lib/libc/gen/pwcache.3
index dc8c77c..feb834d 100644
--- a/lib/libc/gen/pwcache.3
+++ b/lib/libc/gen/pwcache.3
@@ -32,7 +32,7 @@
.\" @(#)pwcache.3 8.1 (Berkeley) 6/9/93
.\" $FreeBSD$
.\"
-.Dd June 9, 1993
+.Dd Dd March 22, 2002
.Dt PWCACHE 3
.Os
.Sh NAME
@@ -43,10 +43,10 @@
.Sh SYNOPSIS
.In pwd.h
.Ft const char *
-.Fn user_from_uid "unsigned long uid" "int nouser"
+.Fn user_from_uid "uid_t uid" "int nouser"
.In grp.h
.Ft const char *
-.Fn group_from_gid "unsigned long gid" "int nogroup"
+.Fn group_from_gid "gid_t gid" "int nogroup"
.Sh DESCRIPTION
The
.Fn user_from_uid
OpenPOWER on IntegriCloud