Retro68/gcc/newlib/libc/sys/sparc64/dup2.S
2012-03-27 01:51:53 +02:00

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