getgrent (SunOS) getgrent (SunOS)
NAME
getgrent, getgrgid, getgrnam, setgrent, endgrent, fgetgrent - Access
group information in the user database
DIGITAL UNIX SYNOPSIS
#include <grp.h>
struct group *getgrent(void);
struct group *getgrgid(
int gid);
struct group *getgrnam(
const char *name);
void setgrent(void);
void endgrent(void);
struct group *fgetgrent(
FILE *f);
DIGITAL UNIX SYNOPSIS
#include <grp.h>
struct group *getgrent(void);
struct group *getgrgid(
gid_t gid);
struct group *getgrnam(
const char *name);
int setgrent(void);
void endgrent(void);
struct group *fgetgrent(
FILE *f);
PARAMETERS
Specifies the name of the group for which the group file entry is to be
retrieved. Specifies the group ID of the group for which the group
file entry is to be retrieved. Specifies a file that contains the next
group structure (initialized by the user). This file should have the
same format as /etc/group. The minimum buffer size is 1024 bytes as
defined for SIABUFSIZ in /usr/include/sia.h.
DIFFERENCES
Changes the declaration of gid to gid_t.
RELATED INFORMATION
Digital UNIX Functions:
getgrent(3), getgrgid(3) delim off
getgrent (SunOS)