COHERENT manpages
This page displays the COHERENT manpage for grp.h [Declare group structure].
List of available manpages
Index
grp.h -- Header File
Declare group structure
#include <grp.h>
The header file grp.h declares the structure group, which is composed as
follows:
struct group (
char *gr_name; /* group name */
char *gr_passwd;/* group password */
int gr_gid; /* numeric group id */
char **gr_mem; /* group members */
};
This structure holds information about the group to which a given user
belongs, as defined in the file /etc/group. It is used by the functions
endgrent(), getgrent(), getgrgid(), getgrnam(), and setgrent().
See Also
header files
POSIX Standard, §9.2.1



