Lines Matching full:newfd2
1593 int newfd2 = REAL(dup2)(oldfd, newfd);
1594 if (oldfd >= 0 && newfd2 >= 0 && newfd2 != oldfd)
1595 FdDup(thr, pc, oldfd, newfd2, false);
1596 return newfd2;
1602 int newfd2 = REAL(dup3)(oldfd, newfd, flags);
1603 if (oldfd >= 0 && newfd2 >= 0 && newfd2 != oldfd)
1604 FdDup(thr, pc, oldfd, newfd2, false);
1605 return newfd2;