groupmember.9freebsd

Langue: en

Version: 308345 (debian - 07/07/09)

Section: 9 (Appels noyau Linux)


BSD mandoc

NAME

groupmember - checks group set for a group ID

SYNOPSIS

In sys/param.h In sys/ucred.h Ft int Fn groupmember gid_t gid struct ucred *cred

DESCRIPTION

The Fn groupmember function checks to see if the given Fa gid is in the group set of the credentials.

Its arguments are:

Fa gid
The group ID to check for.
Fa cred
The credentials to search for the group in.

RETURN VALUES

If the Fa gid is found, 1 is returned; otherwise, 0 is returned.

AUTHORS

This manual page was written by An Chad David Aq davidc@acns.ab.ca .