Go to main content

man pages section 3: Library Interfaces and Headers

Exit Print View

Updated: Thursday, June 13, 2019
 
 

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

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Interface Stability
Committed
Standard

See Also

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