10 lines
166 B
ArmAsm
Raw Normal View History

2017-04-11 23:13:36 +02: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