GETGRENT
3
1993-04-04
Linux Programmer's Manual
The setgrent() function rewinds the file pointer to the beginning of the /etc/group file. The endgrent() function closes the /etc/group file. The group structure is defined in <grp.h> as follows:
struct group {
or NULL if there are no more entries or an error occurs. Upon error, errno may be set. If you want to check its value, set it to zero before the call.
|
||||||||||