GETGRENT(3) GETGRENT(3) NAME getgrent, getgrgid, getgrnam, setgrent, endgrent - get group file entry SYNOPSIS #include <grp.h> struct group *getgrent(); struct group *getgrgid(gid) struct group *getgrnam(name) char *name; setgrent(); endgrent(); DESCRIPTION Getgrent, getgrgid and getgrnam each return pointers to an object with the following structure containing the broken- out fields of a line in the group file.