hdfs::native::hdfsSetWorkingDirectory [] [src]

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

Set the working directory. All relative paths will be resolved relative to it.

Params

Return

Returns 0 on success, -1 on error.