method

fdatasync

v1_9_3_392 - Show latest stable - Class: IO
fdatasync()
public

Immediately writes all buffered data in ios to disk.

If the underlying operating system does not support fdatasync(2), IO#fsync is called instead (which might raise a NotImplementedError).