Welcome to mirror list, hosted at ThFree Co, Russian Federation.
1 2 3 4 5 6
#include <fcntl.h> int dup (int fd1) { return (fcntl (fd1, F_DUPFD, 0)); }