Copyright Digital Equipment Corp. All rights reserved.
Allocate a new descriptor that refers to a file specified by a
file descriptor returned by open, creat, or pipe.
Format
#include <unistd.h>
int dup (int file_desc1);
int dup2 (int file_desc1, int file_desc2);
Arguments Description Return_Values