getpid function
Get the process ID of the calling process.
Implementation
int getpid() {
_getpid ??=
Libc().dylib.lookupFunction<ffi.Int32 Function(), _dart_getpid>('getpid');
return _getpid!();
}
Get the process ID of the calling process.
int getpid() {
_getpid ??=
Libc().dylib.lookupFunction<ffi.Int32 Function(), _dart_getpid>('getpid');
return _getpid!();
}