getgrent

$

gr

 
= getgrent()

Successive calls to getgrent return objects representing successive entries from the group file.