man endgrent () - See getgrent.3posix

REFERENCE

See getgrent.3posix