COHERENT manpages
This page displays the COHERENT manpage for getgrent() [Get group file information].
List of available manpages
Index
getgrent() -- General Function (libc) Get group file information #include <grp.h> struct group *getgrent(); getgrent() returns the next entry from file /etc/group. It returns NULL if an error occurs or if the end of file is encountered. Files /etc/group <grp.h> See Also group, initgroups(), libc Notes All structures and information returned are in a static area internal to getgrent(). Therefore, information from a previous call is overwritten by each subsequent call.