Function axlibc::rmdir

source ·
#[no_mangle]
pub unsafe extern "C" fn rmdir(pathname: *const c_char) -> c_int
Available on crate feature fs only.
Expand description

Remove a directory, which must be empty

Return 0 if the operation succeeds, otherwise return -1.