[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

getgrnam

Syntax

 
#include <grp.h>

struct group *getgrnam(char *name);

Description

This function returns the group entry for the group named name. See section getgrent, for the description of struct group.

Return Value

The matching group, or NULL if none match.

Portability

ANSI/ISO C No
POSIX 1003.2-1992; 1003.1-2001