Lines Matching refs:amount_read
673 int in, out, retval = 0, amount_read, n, errsv = errno;
698 while (retval == 0 && (amount_read = read(in, buf, sizeof(buf))) > 0) {
699 if (write(out, buf, amount_read) < 0) {
704 if (amount_read < 0) {
1896 ssize_t amount_read;
1921 amount_read = read(fd, buf, sizeof(buf));
1922 if (amount_read == -1) {