Searched refs:readlen (Results 1 - 3 of 3) sorted by relevance

/illumos-gate/usr/src/lib/libslp/clib/
H A Dslp_config.c55 size_t real_bufsize, readlen = 0; local
65 readlen += strlen(r);
66 if ((*buf)[readlen - 1] == '\n')
75 p = *buf + readlen;
76 real_bufsize = *bufsize - readlen;
/illumos-gate/usr/src/test/zfs-tests/cmd/mkholes/
H A Dmkholes.c154 ssize_t readlen = 1024 * 1024 * 16; local
164 buf = (char *)umem_alloc(readlen, UMEM_NOFAIL);
165 vbuf = (char *)umem_zalloc(readlen, UMEM_NOFAIL);
167 ssize_t bytes = pread(fd, buf, readlen, off);
182 umem_free(buf, readlen);
183 umem_free(vbuf, readlen);
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dconf.c5584 ssize_t readlen; local
5611 while ((readlen = read(src, &buf, sizeof(buf))) > 0)
5613 ssize_t left = readlen;
5627 if (readlen < 0 || writelen < 0)

Completed in 77 milliseconds