libc/newlib/libc/sys/sparc64/dup2.S

10 lines
166 B
ArmAsm

! dup2() system call
#include "sys/syscallasm.h"
/* FIXME: rewrite in C to use fcntl */
#ifndef __svr4__ /* svr4 uses fcntl */
defsyscall (dup2, SYS_dup2)
#endif