hdfs::native::hdfsHSync [] [src]

pub unsafe extern fn hdfsHSync(fs: *const hdfsFS, file: *const hdfsFile) -> c_int

Similar to posix fsync, Flush out the data in client's user buffer. all the way to the disk device (but the disk may have it in its cache).

Params

Return

0 on success, -1 on error and sets errno