summaryrefslogtreecommitdiffstats
path: root/lib/libcompat
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1997-04-19 15:57:20 +0000
committerbde <bde@FreeBSD.org>1997-04-19 15:57:20 +0000
commit4d078cb8d9451bf36499705dbca2d944683229de (patch)
tree8edec8c76bbdb0ba690f408a6c87cf3273faea7a /lib/libcompat
parent34b9f986fc9fa87146dcaa4c0362f1d2e29497c7 (diff)
downloadFreeBSD-src-4d078cb8d9451bf36499705dbca2d944683229de.zip
FreeBSD-src-4d078cb8d9451bf36499705dbca2d944683229de.tar.gz
Fixed #include and/or prototype bugs in synopsis.
Diffstat (limited to 'lib/libcompat')
-rw-r--r--lib/libcompat/4.1/getpw.34
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libcompat/4.1/getpw.3 b/lib/libcompat/4.1/getpw.3
index 4cf160c..b64e588 100644
--- a/lib/libcompat/4.1/getpw.3
+++ b/lib/libcompat/4.1/getpw.3
@@ -38,7 +38,9 @@
.Nm getpw
.Nd get name from uid
.Sh SYNOPSIS
-.Fn getpw uid "char *buf"
+.Fd #include <sys/types.h>
+.Ft int
+.Fn getpw "uid_t uid" "char *buf"
.Sh DESCRIPTION
.Bf -symbolic
The getpw function is made obsolete by getpwuid(3).
OpenPOWER on IntegriCloud