GRP.H(3HEAD) Headers GRP.H(3HEAD)
grp.h, grp - group structure
#include <grp.h>
The <grp.h> header declares the structure group, which includes the
following members:
char *gr_name /* name of the group */
gid_t gr_gid /* numerical group ID */
char **gr_mem /* pointer to a null-terminated array of
character pointers to member names */
The gid_t type is defined as described in <sys/types.h> (see
types(3HEAD)).
See attributes(7) for descriptions of the following attributes:
+--------------------+-----------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+--------------------+-----------------+
|Interface Stability | Standard |
+--------------------+-----------------+
getgrnam(3C), types.h(3HEAD), attributes(7), standards(7)
September 10, 2004 GRP.H(3HEAD)
NAME
grp.h, grp - group structure
SYNOPSIS
#include <grp.h>
DESCRIPTION
The <grp.h> header declares the structure group, which includes the
following members:
char *gr_name /* name of the group */
gid_t gr_gid /* numerical group ID */
char **gr_mem /* pointer to a null-terminated array of
character pointers to member names */
The gid_t type is defined as described in <sys/types.h> (see
types(3HEAD)).
ATTRIBUTES
See attributes(7) for descriptions of the following attributes:
+--------------------+-----------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+--------------------+-----------------+
|Interface Stability | Standard |
+--------------------+-----------------+
SEE ALSO
getgrnam(3C), types.h(3HEAD), attributes(7), standards(7)
September 10, 2004 GRP.H(3HEAD)