groupmember
checks group set for a group ID
- Provided by: freebsd-manpages (Version: 12.2-2)
- Report a bug
checks group set for a group ID
#include
<sys/param.h>
#include <sys/ucred.h>
int
groupmember(gid_t
gid, struct ucred
*cred);
The
groupmember()
function checks to see if the given gid is in the
group set of the credentials.
Its arguments are:
If the gid is found, 1 is returned; otherwise, 0 is returned.
This manual page was written by Chad David <davidc@acns.ab.ca>.