hdfs::native::hdfsDisconnect [] [src]

pub unsafe extern fn hdfsDisconnect(fs: *const hdfsFS) -> c_int

hdfsDisconnect - Disconnect from the hdfs file system. Disconnect from hdfs.

Params

Return

Returns 0 on success, -1 on error. Even if there is an error, the resources associated with the hdfsFS will be freed.