man posix_spawnattr_setpgroup () - See posix_spawnattr_getpgroup.3posix

REFERENCE

See posix_spawnattr_getpgroup.3posix