testfd 67 user/testbin/badcall/bad_dup2.c int testfd;
testfd 70 user/testbin/badcall/bad_dup2.c testfd = CLOSED_FD;
testfd 72 user/testbin/badcall/bad_dup2.c rv = dup2(STDIN_FILENO, testfd);
testfd 78 user/testbin/badcall/bad_dup2.c rv = dup2(testfd, testfd);
testfd 79 user/testbin/badcall/bad_dup2.c if (rv == testfd) {
testfd 89 user/testbin/badcall/bad_dup2.c rv = fstat(testfd, &sb);
testfd 98 user/testbin/badcall/bad_dup2.c rv = lseek(testfd, 0, SEEK_CUR);
testfd 107 user/testbin/badcall/bad_dup2.c close(testfd);