Home | History | Annotate | Download | only in pread

Lines Matching full:read_buf

93 char *read_buf[NBUFS];		/* buffer to hold data read from file */
118 nread = pread(fildes, read_buf[2], K1, K2);
136 nread = pread(fildes, read_buf[3], K1, K3);
150 if ((nread = read(fildes, read_buf[0], K1)) != K1) {
159 nread = pread(fildes, read_buf[1], K1, K1);
255 * init_buffers - allocates both write_buf and read_buf arrays.
269 read_buf[count] = malloc(K1);
271 if ((write_buf[count] == NULL) || (read_buf[count] == NULL)) {
313 if (memcmp(write_buf[count], read_buf[count], K1) != 0) {
340 free(read_buf[count]);