The endgrent function closes the group database. This function is always successful. No value is returned, and errno is not set.