|
fn rename(oldpath: &CStr, newpath: &CStr) -> c_int {
|
|
fn rename(oldpath: &CStr, newpath: &CStr) -> c_int {
|
|
Ok(file) => e(syscall::frename(*file as usize, newpath.to_bytes())) as c_int,
|
|
Ok(file) => e(syscall::frename(*file as usize, newpath.to_bytes())) as c_int,
|