hdfs::native::hdfsCloseFile [] [src]

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

Close an open file.

Params

Return

Returns 0 on success, -1 on error. On error, errno will be set appropriately.If the hdfs file was valid, the memory associated with it will be freed at the end of this call, even if there was an I/O error.