[][src]Function rust_hdfs::hdfsCloseFile

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

hdfsCloseFile - Close an open file. @param fs The configured filesystem handle. @param file The file handle. @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.