Function axlibc::dup2

source ·
#[no_mangle]
pub unsafe extern "C" fn dup2(old_fd: c_int, new_fd: c_int) -> c_int
Available on crate feature fd only.
Expand description

Duplicate a file descriptor, use file descriptor specified in new_fd.