Home
last modified time | relevance | path

Searched refs:fd3 (Results 1 – 2 of 2) sorted by relevance

/glibc-2.36/io/
Dtst-fcntl.c67 int fd3; in do_test() local
167 fd3 = fcntl (fd, F_DUPFD, fd2 + 1); in do_test()
168 if (fd3 == -1) in do_test()
173 else if (fd3 <= fd2) in do_test()
175 printf ("F_DUPFD returned %d which is not larger than %d\n", fd3, fd2); in do_test()
179 if (fd3 != -1) in do_test()
181 val = fcntl (fd3, F_GETFD); in do_test()
193 close (fd3); in do_test()
/glibc-2.36/posix/
Dtst-spawn.c88 int fd3; in handle_restart() local
95 fd3 = atol (fd3s); in handle_restart()
101 TEST_VERIFY_EXIT (fd1 != fd3); in handle_restart()
103 TEST_VERIFY_EXIT (fd2 != fd3); in handle_restart()
105 TEST_VERIFY_EXIT (fd3 != fd4); in handle_restart()
119 TEST_COMPARE (read (fd3, buf, sizeof buf), strlen (fd3string)); in handle_restart()
122 TEST_COMPARE (write (fd3, "boo!", 4), -1); in handle_restart()