Query: groupmember
OS: freebsd
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
GROUPMEMBER(9) BSD Kernel Developer's Manual GROUPMEMBER(9)NAMEgroupmember -- checks group set for a group IDSYNOPSIS#include <sys/param.h> #include <sys/ucred.h> int groupmember(gid_t gid, struct ucred *cred);DESCRIPTIONThe 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 VALUESIf the gid is found, 1 is returned; otherwise, 0 is returned.AUTHORSThis manual page was written by Chad David <davidc@acns.ab.ca>.BSDJuly 9, 2001 BSD
| Related Man Pages |
|---|
| getgrgid(3) - redhat |
| getgrnam(3) - redhat |
| vop_access(9) - debian |
| vop_access(9) - minix |
| vop_access(9) - linux |
| Similar Topics in the Unix Linux Community |
|---|
| Hidding The Administrator Account in OS X 10.5 (Leopard) |
| pdadmin script help needed |
| bash script for dseditgroups in OSX |
| Scripting User Account Removal |