taglinefilesource code
newfd38fs/fcntl.casmlinkage int sys_dup2(unsigned int oldfd, unsigned int newfd)
newfd42fs/fcntl.cif (newfd == oldfd)
newfd43fs/fcntl.creturn newfd;
newfd48fs/fcntl.cif (newfd > NR_OPEN)  /* historical botch - should have been >= */
newfd51fs/fcntl.cif (newfd == NR_OPEN)
newfd57fs/fcntl.csys_close(newfd);
newfd58fs/fcntl.creturn dupfd(oldfd,newfd);
newfd89include/asm-alpha/unistd.hint newfd = sys_dup(fd);
newfd90include/asm-alpha/unistd.hprintk("[%d]dup(%d)=%d\n",current->pid, fd, newfd);
newfd91include/asm-alpha/unistd.hreturn newfd;