native_getsid function
Return the session ID of the given process.
Implementation
int native_getsid(
int pid,
) {
_getsid ??= Libc()
.dylib
.lookupFunction<ffi.Int32 Function(ffi.Int32), _dart_getsid>('getsid');
return _getsid!(
pid,
);
}