

getgrent()               General Function              getgrent()




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

general functions, group

***** Notes *****

All structures and information  returned are in a static area in-
ternal to getgrent.   Therefore, information from a previous call
is overwritten by each subsequent call.


































COHERENT Lexicon                                           Page 1


