setpgrpvoid
setpgrpvoid is not a standard function in POSIX or mainstream C libraries. It does not appear in standard headers or documented UNIX APIs, and its meaning depends entirely on the codebase where it appears. In practice, setpgrpvoid may be a user-defined symbol, a typographical error for setpgrp, or a wrapper function named setpgrpvoid used to hide or alter the behavior of process-group management.
If you encounter a function named setpgrpvoid, its concrete behavior is determined by its declaration and implementation.
Background on related concepts: setpgrp historically creates a new process group for the calling process in
Portability and guidance: For portable code, prefer POSIX-compliant interfaces such as setpgid. If you must work