summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>1999-01-18 02:14:20 +0000
committerdes <des@FreeBSD.org>1999-01-18 02:14:20 +0000
commit9dabb14045fe74d9e0f500999f57f5eb7d4b5b0b (patch)
tree3ea043d4ad9462da228cee31593c9d86a46f34b0 /lib
parentac68ffc018823cea35a85329ca748080203987a0 (diff)
downloadFreeBSD-src-9dabb14045fe74d9e0f500999f57f5eb7d4b5b0b.zip
FreeBSD-src-9dabb14045fe74d9e0f500999f57f5eb7d4b5b0b.tar.gz
Use the correct type for uid and gid in struct passwd. Document it.
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/gen/getpwent.34
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/gen/getpwent.3 b/lib/libc/gen/getpwent.3
index 8772a42..94fc406 100644
--- a/lib/libc/gen/getpwent.3
+++ b/lib/libc/gen/getpwent.3
@@ -72,8 +72,8 @@ file
struct passwd {
char *pw_name; /* user name */
char *pw_passwd; /* encrypted password */
- int pw_uid; /* user uid */
- int pw_gid; /* user gid */
+ uid_t pw_uid; /* user uid */
+ gid_t pw_gid; /* user gid */
time_t pw_change; /* password change time */
char *pw_class; /* user access class */
char *pw_gecos; /* Honeywell login info */
OpenPOWER on IntegriCloud