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

10 lines
166 B
ArmAsm
Raw Normal View History

2000-02-18 03:39:52 +08:00
! dup2() system call
#include "sys/syscallasm.h"
/* FIXME: rewrite in C to use fcntl */
#ifndef __svr4__ /* svr4 uses fcntl */
defsyscall (dup2, SYS_dup2)
#endif