Chapter Contents

Previous

Next
setgrent

setgrent



Reposition the Group Database

Portability: UNIX compatible


SYNOPSIS
DESCRIPTION
RETURN VALUE
USAGE NOTES
RELATED FUNCTIONS


SYNOPSIS

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


DESCRIPTION

The setgrent function rewinds the group database so that the next call to the getgrent function will access the first group in the database.


RETURN VALUE

setgrent has no return value.


USAGE NOTES

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

If the setgrent function cannot be executed (for instance, because UNIX System Services is not installed or running), it issues an OS/390 user ABEND 1230 to indicate the error.


RELATED FUNCTIONS

endgrent , getgrent


Chapter Contents

Previous

Next

Top of Page

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