hdfs::native::hdfsHFlush [] [src]

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

Flush out the data in client's user buffer. After the return of this call, new readers will see the data.

Params

Return

0 on success, -1 on error and sets errno