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

10 lines
166 B
ArmAsm
Raw Normal View History

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