[Previous] [Contents] [Next]

endgrent()

Close the group database file

Synopsis:

#include <grp.h>

int endgrent( void );

Library:

libc

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:

Standard Unix, POSIX 1003.1g (draft)

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

See also:

getgrent(), setgrent()


[Previous] [Contents] [Next]