Skip to main content

renameat2

Function renameat2 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn renameat2( old_dir: c_int, old_path: *const c_char, new_dir: c_int, new_path: *const c_char, flags: c_uint, ) -> c_int
Expand description

See https://www.man7.org/linux/man-pages/man2/rename.2.html.

Non-POSIX. Seems to be a GNU extension.