(syscall-dup2-logic oldfd newfd x86) → (mv * x86)
From the
After a successful return from one of these system calls, the
old and new file descriptors may be used interchangeably. They
refer to the same open file description (see
The two descriptors do not share file descriptor flags (the
close-on-exec flag). The close-on-exec flag (FD_CLOEXEC;
see
Function:
(defun syscall-dup2-logic (oldfd newfd x86) (declare (xargs :stobjs (x86))) (declare (ignorable oldfd newfd x86)) (declare (xargs :guard (and (integerp oldfd) (integerp newfd)))) (let ((__function__ 'syscall-dup2-logic)) (declare (ignorable __function__)) (pop-x86-oracle x86)))