Searched refs:text2 (Results 1 – 2 of 2) sorted by relevance
/glibc-2.36/libio/ |
D | tst-mmap-fflushsync.c | 17 static char text2[] = "Line the second\n"; variable 69 c = write (temp_fd, text2, sizeof text2 - 1); in do_test() 70 if (c == sizeof text2 - 1) in do_test() 74 printf ("wrote %d != %zd (%m)\n", c, sizeof text2 - 1); in do_test() 90 if (result == 0 && strcmp (buf, text2)) in do_test() 92 printf ("second time read \"%s\", expected \"%s\"\n", buf, text2); in do_test()
|
D | tst-mmap-eofsync.c | 17 static char text2[] = "Line the second\n"; variable 74 c = write (temp_fd, text2, sizeof text2 - 1); in do_test() 75 if (c == sizeof text2 - 1) in do_test() 79 printf ("wrote %d != %zd (%m)\n", c, sizeof text2 - 1); in do_test() 95 if (result == 0 && strcmp (buf, text2)) in do_test() 97 printf ("second time read \"%s\", expected \"%s\"\n", buf, text2); in do_test()
|