The
.B getgrnam()
function returns a pointer to a structure containing
-the broken-out fields of a record in the group database
+the broken-out fields of the record in the group database
(e.g., the local group file
.IR /etc/group ,
NIS, and LDAP)
-for the entry that matches the group name
+that matches the group name
.IR name .
.PP
The
.B getgrgid()
function returns a pointer to a structure containing
the broken-out fields of the record in the group database
-for the entry that matches the group ID
+that matches the group ID
.IR gid .
.PP
The
The
.B getpwnam()
function returns a pointer to a structure containing
-the broken-out fields of a record in the password database
+the broken-out fields of the record in the password database
(e.g., the local password file
.IR /etc/passwd ,
NIS, and LDAP)
-for the entry that matches the user name
+that matches the user name
.IR name .
.PP
The
.B getpwuid()
function returns a pointer to a structure containing
the broken-out fields of the record in the password database
-for the entry that matches the user ID
+that matches the user ID
.IR uid .
.PP
The