summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/pwcache.3
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2002-03-22 02:35:47 +0000
committerimp <imp@FreeBSD.org>2002-03-22 02:35:47 +0000
commitbb8112f72f4be228031dbf39fdda008479370138 (patch)
tree1896b3c9e45afc5d3a9cdc4a5309f9ba61f9262b /lib/libc/gen/pwcache.3
parentd8370f667da0469f2618c75d4827cd30d389f233 (diff)
downloadFreeBSD-src-bb8112f72f4be228031dbf39fdda008479370138.zip
FreeBSD-src-bb8112f72f4be228031dbf39fdda008479370138.tar.gz
Make user_from_uid and group_from_gid return const char *, just like
NetBSD. Update man page to reflect this.
Diffstat (limited to 'lib/libc/gen/pwcache.3')
-rw-r--r--lib/libc/gen/pwcache.34
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/gen/pwcache.3 b/lib/libc/gen/pwcache.3
index eb2f9e0..dc8c77c 100644
--- a/lib/libc/gen/pwcache.3
+++ b/lib/libc/gen/pwcache.3
@@ -42,10 +42,10 @@
.Lb libc
.Sh SYNOPSIS
.In pwd.h
-.Ft char *
+.Ft const char *
.Fn user_from_uid "unsigned long uid" "int nouser"
.In grp.h
-.Ft char *
+.Ft const char *
.Fn group_from_gid "unsigned long gid" "int nogroup"
.Sh DESCRIPTION
The
OpenPOWER on IntegriCloud