Use the correct type for uid and gid in struct passwd. Document it.

This commit is contained in:
Dag-Erling Smørgrav 1999-01-18 02:14:20 +00:00
parent 88658ab880
commit a135bdb9a0
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=42780
2 changed files with 4 additions and 4 deletions

View file

@ -71,8 +71,8 @@
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 */

View file

@ -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 */