Skip to content
instance method

IO#fdatasync

() -> ::Integer?
fdatasync → 0

Immediately writes to disk all data buffered in the stream, via the operating system’s: fdatasync(2), if supported, otherwise via fsync(2), if supported; otherwise raises an exception.

See also #fcntl #fileno #external_encoding #flush also in 4.1 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0