getpgid function

int getpgid(
  1. int pid
)

Implementation

int getpgid(
  int pid,
) {
  _getpgid ??= Libc()
      .dylib
      .lookupFunction<ffi.Int32 Function(ffi.Int32), _dart_getpgid>('getpgid');
  return _getpgid!(
    pid,
  );
}