tcgetpgrp function
Return the foreground process group ID of FD.
Implementation
int tcgetpgrp(
int fd,
) {
_tcgetpgrp ??= Libc()
.dylib
.lookupFunction<ffi.Int32 Function(ffi.Int32), _dart_tcgetpgrp>(
'tcgetpgrp');
return _tcgetpgrp!(
fd,
);
}