hdfs_sys/
hdfs_3_3.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! hdfs 3.3 add new APIs:
//!
//! - hdfsPreadFully

use std::os::raw::*;

use crate::{hdfsFS, hdfsFile};

extern "C" {
    pub fn hdfsPreadFully(
        fs: hdfsFS,
        file: hdfsFile,
        position: i64,
        buffer: *mut c_void,
        length: i32,
    ) -> c_int;
}