[][src]Function rust_hdfs::hdfsFileClearReadStatistics

pub unsafe extern "C" fn hdfsFileClearReadStatistics(file: hdfsFile) -> c_int

Clear the read statistics for a file.

@param file The file to clear the read statistics of.

@return 0 on success; the error code otherwise. EINVAL: the file is not open for reading. ENOTSUP: the file does not support clearing the read statistics. Errno will also be set to this code on failure.