[][src]Function rust_hdfs::hdfsChown

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

Change the user and/or group of a file or directory.

@param fs The configured filesystem handle. @param path the path to the file or directory @param owner User string. Set to NULL for 'no change' @param group Group string. Set to NULL for 'no change' @return 0 on success else -1