setpgrp function
Set the process group ID of the calling process to its own PID. This is exactly the same as `setpgid (0, 0)'.
Implementation
int setpgrp() {
_setpgrp ??= Libc()
.dylib
.lookupFunction<ffi.Int32 Function(), _dart_setpgrp>('setpgrp');
return _setpgrp!();
}