pub unsafe extern "C" fn hdfsTruncate(
fs: hdfsFS,
path: *const c_char,
pos: tOffset,
shouldWait: *mut c_int,
) -> c_int
Expand description
hdfsTruncate - Truncate the file in the indicated path to the indicated size. @param fs The configured filesystem handle. @param path the path to the file. @param pos the position the file will be truncated to. @param shouldWait output value, true if and client does not need to wait for block recovery, false if client needs to wait for block recovery.