man pages section 3: Library Interfaces and Headers

Exit Print View

Updated: July 2014
 
 

grp(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(5) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Interface Stability
Committed
Standard

See also

getgrnam(3C), types.h(3HEAD), attributes(5), standards(5)