fchdir function

int fchdir(
  1. int fd
)

Change the process's working directory to the one FD is open on.

Implementation

int fchdir(
  int fd,
) {
  _fchdir ??= Libc()
      .dylib
      .lookupFunction<ffi.Int32 Function(ffi.Int32), _dart_fchdir>('fchdir');
  return _fchdir!(
    fd,
  );
}