Home
last modified time | relevance | path

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

/glibc-2.36/posix/
Dtst-exec.c55 static const char fd2string[] = "This file should stay opened"; variable
90 if (lseek (fd2, 0, SEEK_CUR) != strlen (fd2string)) in handle_restart()
94 if (read (fd2, buf, sizeof buf) != strlen (fd2string)) in handle_restart()
96 if (memcmp (fd2string, buf, strlen (fd2string)) != 0) in handle_restart()
162 if (write (temp_fd2, fd2string, strlen (fd2string)) != strlen (fd2string)) in do_test()
Dtst-spawn.c56 static const char fd2string[] = "This file should stay opened"; variable
110 TEST_COMPARE (xlseek (fd2, 0, SEEK_CUR), strlen (fd2string)); in handle_restart()
112 TEST_COMPARE (xlseek (fd4, 0, SEEK_CUR), strlen (fd2string)); in handle_restart()
115 TEST_COMPARE (read (fd2, buf, sizeof buf), strlen (fd2string)); in handle_restart()
116 TEST_COMPARE_BLOB (fd2string, strlen (fd2string), buf, strlen (fd2string)); in handle_restart()
186 xwrite (temp_fd2, fd2string, strlen (fd2string)); in do_test()