1*433d6423SLionel Sambuc #include <sys/cdefs.h> 2*433d6423SLionel Sambuc #include "namespace.h" 3*433d6423SLionel Sambuc #include <lib.h> 4*433d6423SLionel Sambuc 5*433d6423SLionel Sambuc #include <fcntl.h> 6*433d6423SLionel Sambuc #include <unistd.h> 7*433d6423SLionel Sambuc dup(fd)8*433d6423SLionel Sambucint dup(fd) 9*433d6423SLionel Sambuc int fd; 10*433d6423SLionel Sambuc { 11*433d6423SLionel Sambuc return(fcntl(fd, F_DUPFD, 0)); 12*433d6423SLionel Sambuc } 13