Home | History | Annotate | Download | only in sysinst

Lines Matching defs:iobuf

249 	char *iobuf;
256 iobuf = malloc(secsize);
257 if (iobuf == NULL)
259 nr = pread(fd, iobuf, secsize, rnd);
261 memcpy(buf, &iobuf[mod], nbytes);
262 free(iobuf);
279 char *iobuf;
286 iobuf = malloc(secsize);
287 if (iobuf == NULL)
289 nr = pread(fd, iobuf, secsize, rnd);
291 memcpy(&iobuf[mod], buf, nbytes);
292 nr = pwrite(fd, iobuf, secsize, rnd);
294 free(iobuf);