[][src]Function rust_hdfs::hdfsSetWorkingDirectory

pub unsafe extern "C" fn hdfsSetWorkingDirectory(
    fs: hdfsFS,
    path: *const c_char
) -> c_int

hdfsSetWorkingDirectory - Set the working directory. All relative paths will be resolved relative to it. @param fs The configured filesystem handle. @param path The path of the new 'cwd'. @return Returns 0 on success, -1 on error.