Minix1.5/lib/posix/dup2.c

Compare this file to the similar file:
Show the results in this format:

#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));
}