endgrent()

Close the group database file

Synopsis:

#include <grp.h>

int endgrent( void );

Library:

libc

Use the -l c option to qcc to link against this library. This library is usually included automatically.

Description:

The endgrent() routine closes the group name database file, so all group access routines behave as if setgrent() had never been called.

Returns:

Zero.

Classification:

POSIX 1003.1 XSI

Safety:  
Cancellation point Yes
Interrupt handler No
Signal handler No
Thread No