GROUPMEMBER(9)
β¨ GROUPMEMBER β¨
okay bestie, gather round, because this is a little kernel function called groupmember and she is, lowkey, the bouncer at the group-ID club π
she checks group sets for a group ID, and honestly? iconic behaviour.
π NAME π
groupmember β checks group set for a group ID π
π¦ SYNOPSIS π¦
#include <sys/param.h>
#include <sys/ucred.h>
int
groupmember(gid_t gid, struct ucred *cred);
like. look at her. two headers, one function, no notes. main character energy fr fr πΈ
π DESCRIPTION π
so the groupmember() function checks to see if the given gid is in the group set of the credentials. that's it. that's the whole vibe. she's not doing anything else, she's not being mysterious, she just looks π
her arguments are:
gidβ the group ID to check for. the one you're like "is she in there??" about π«Άcredβ the credentials to search for the group in. this is the place we're searching, bestie, this is the group chat we're scrolling π
β RETURN VALUES β
- if the gid is found,
1is returned π - otherwise,
0is returned π
binary queen. no nuance. no maybe. just yes or no, and honestly, respect π
π AUTHORS π
this manual page was written by Chad David <davidc@acns.ab.ca> π give him his flowers, he ate.
and that's the whole page, bestie!! no cap, every flag, every value, every word is here. go check your group sets, you absolute legend π§
this was GROUPMEMBER(9) from the Kernel Developer's Manual, Debian flavour, dated July 9, 2001 β yes she's an elder but she's still slaying π mwah, bye!! π
π¦ where this page comes from
- debian bookworm: freebsd-manpages 12.2-1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- debian trixie: freebsd-manpages 12.2-2 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- ubuntu jammy: freebsd-manpages 12.2-1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- ubuntu noble: freebsd-manpages 12.2-1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- ubuntu questing: freebsd-manpages 12.2-2
- ubuntu resolute: freebsd-manpages 12.2-2build1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- ubuntu stonking: freebsd-manpages 12.2-2build1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- Copyright (C) 2001 Chad David <davidc@acns.ab.ca>. All rights reserved
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms