Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/coreutils/coreutils
/ gid_unset
Function
gid_unset
src/chroot.c:44–44 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
42
43
static inline bool uid_unset (uid_t uid) { return uid == (uid_t) -1; }
44
static inline bool gid_unset (gid_t gid) { return gid == (gid_t) -1; }
45
#define uid_set(x) (!uid_unset (x))
46
#define gid_set(x) (!gid_unset (x))
47
Callers
1
main
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected