ack/mach/minixST/libsys/dup2.c

8 lines
130 B
C
Raw Normal View History

1988-04-19 09:34:37 +00:00
#include "lib.h"
PUBLIC int dup2(fd, fd2)
int fd, fd2;
{
return callm1(FS, DUP, fd+0100, fd2, 0, NIL_PTR, NIL_PTR, NIL_PTR);
}