taglinefilesource code
newfd38fs/fcntl.cint sys_dup2(unsigned int oldfd, unsigned int newfd)
newfd42fs/fcntl.cif (newfd == oldfd)
newfd43fs/fcntl.creturn newfd;
newfd44fs/fcntl.csys_close(newfd);
newfd45fs/fcntl.creturn dupfd(oldfd,newfd);