fsync function
Make all changes done to FD actually appear on disk.
This function is a cancellation point and therefore not marked with __THROW.
Implementation
int fsync(
int fd,
) {
_fsync ??= Libc()
.dylib
.lookupFunction<ffi.Int32 Function(ffi.Int32), _dart_fsync>('fsync');
return _fsync!(
fd,
);
}