Closes the group database when processing is complete.
Format
#include <grp.h>
void endgrent (void);
1 – Description
The endgrent function closes the group database.
This function is always successful. No value is returned, and
errno is not set.