tail head cat sleep
QR code linking to this page

Manual Pages  — GROUPMEMBER

NAME

groupmember – checks group set for a group ID

CONTENTS

SYNOPSIS

#include <sys/param.h>
#include <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 Chad David <Mt davidc@acns.ab.ca>.

GROUPMEMBER (9) July 9, 2001

tail head cat sleep
QR code linking to this page


Please direct any comments about this manual page service to Ben Bullock. Privacy policy.

C isn't that hard: void (*(*f[])())() defines f as an array of unspecified size, of pointers to functions that return pointers to functions that return void