Lines Matching refs:write
16 * along with this program; if not, write to the Free Software
25 * Program tests the combinations of direct and buffered read, write.
26 * The bufsize should be in n*4k size for direct read, write. The offset
28 * read and write. Larger files can be created using the offset parameter.
32 * [1] Direct read, Buffered write
33 * [2] Direct write, Buffered read
34 * [3] Direct read, Direct write
77 * runtest: write the data to the file. Read the data from the file and compare.
78 * For each iteration, write data starting at offse+iter*bufsize
97 /* seek bufsize*iteration and write. seek and read. verify. */
101 tst_resm(TFAIL, "lseek before write failed: %s",
105 if (write(fd_w, buf1, bufsize) < bufsize) {
106 tst_resm(TFAIL, "write failed: %s", strerror(errno));
119 tst_resm(TFAIL, "read/write comparision failed");