Chapter Contents

Previous

Next
endgrent

endgrent



Close the Group Database

Portability: UNIX compatible


SYNOPSIS
DESCRIPTION
RETURN VALUE
USAGE NOTES
RELATED FUNCTIONS


SYNOPSIS

#include <sys/types.h>
#include <grp.h>
void endgrent(void);


DESCRIPTION

The endgrent function closes the UNIX System Services group database once the getgrent function is complete. If getgrent is called after a call to endgrent, the database will be opened once again, and information about the first group returned.


RETURN VALUE

endgrent has no return value.


USAGE NOTES

The endgrent function can only be used with MVS 5.2.2 or a later release.


RELATED FUNCTIONS

getgrent, setgrent


Chapter Contents

Previous

Next

Top of Page

Copyright © 2001 by SAS Institute Inc., Cary, NC, USA. All rights reserved.