ack/mach/minix/libsys/_dup.c

11 lines
138 B
C
Raw Permalink Normal View History

#include <lib.h>
#define dup _dup
1991-09-19 12:46:16 +00:00
#include <unistd.h>
#include <fcntl.h>
PUBLIC int dup(fd)
int fd;
{
return(fcntl(fd, F_DUPFD, 0));
}