10 lines
118 B
C
10 lines
118 B
C
#include <lib.h>
|
|
#define dup _dup
|
|
#include <fcntl.h>
|
|
|
|
PUBLIC int dup(fd)
|
|
int fd;
|
|
{
|
|
return(fcntl(fd, F_DUPFD, 0));
|
|
}
|