Searched defs:bytesread (Results 1 - 6 of 6) sorted by relevance

/illumos-gate/usr/src/lib/libc/port/gen/
H A Dattrat.c179 int bytesread; local
192 bytesread = read(fd, nv_response, nv_responselen);
193 if (bytesread != nv_responselen) {
/illumos-gate/usr/src/lib/libsasl/lib/
H A Dsaslutil.c355 ssize_t bytesread = 0; local
359 bytesread = read(fd, buf, bytesleft);
360 if(bytesread == -1 && errno == EINTR) continue;
361 else if(bytesread <= 0) break;
362 bytesleft -= bytesread;
363 buf += bytesread;
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dxdr.c538 uint64_t bytesread; local
580 * 'bytesread' is what we have already read. sp is NULL
583 bytesread = 0;
585 block = MIN(size - bytesread, FRAGMENT);
587 * allocate enough for 'bytesread + block' bytes and
590 newsp = realloc(sp, bytesread + block + 1);
597 if (!xdr_opaque(xdrs, &sp[bytesread], block)) {
601 bytesread += block;
602 } while (bytesread < size);
604 sp[bytesread]
[all...]
/illumos-gate/usr/src/psm/stand/boot/common/
H A Dreadfile.c186 size_t bytesread = 0; local
190 while (bytesread < nbytes) {
191 i = read(fd, p, nbytes - bytesread);
198 bytesread += i;
201 return (bytesread);
/illumos-gate/usr/src/cmd/cpio/
H A Dcpio.c2281 size_t bytesread; local
2284 for (bytesread = 0; bytesread < bytes; bytesread += got) {
2290 if ((got = read_chunk(ifd, buf + bytesread,
2291 min(bytes - bytesread, rdblocksz),
2299 if (bytesread == 0) {
2304 return (bytes - bytesread);
/illumos-gate/usr/src/cmd/tar/
H A Dtar.c3878 size_t bytesread; local
3932 for (bytesread = 0; bytesread < maxwrite; bytesread += TBLOCK) {
3933 readtape(buf + bytesread);

Completed in 97 milliseconds