:man| Alphabetical   Categories   About us 
 
GROUPMEMBER (9) | Kernel routines | Unix Manual Pages | :man

NAME

groupmember - checks group set for a group ID

CONTENTS

Synopsis
Description
Return Values
Authors

SYNOPSIS


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

DESCRIPTION

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

Its arguments are:

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

RETURN VALUES

If the 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 .

July 9, 2001 GROUPMEMBER (9)
shtml">manServer 1.07 from groupmember.9 using doc macros.

 
Created by Blin Media, 2008-2013