Go to the first, previous, next, last section, table of contents.


getgrgid

Syntax

#include <grp.h>

extern struct group *getgrgid(int gid);

Description

This function returns the group entry that matches gid. See section getgrent, for the description of struct group.

Return Value

The matching group, or NULL if none match.

Portability

not ANSI, POSIX


Go to the first, previous, next, last section, table of contents.