summaryrefslogtreecommitdiffstats
path: root/Python/importdl.h
diff options
context:
space:
mode:
Diffstat (limited to 'Python/importdl.h')
0 files changed, 0 insertions, 0 deletions
nt dup2(int fd1, int fd2) { if (fd1 != fd2) { if (fcntl(fd1, F_GETFL) < 0) return BADEXIT; if (fcntl(fd2, F_GETFL) >= 0) close(fd2); if (fcntl(fd1, F_DUPFD, fd2) < 0) return BADEXIT; } return fd2; }