Lines Matching refs:len
107 copy_fd(int out, FILE *in, size_t len)
114 while (len > 0 && !errors) {
115 rlen = (len > sizeof (buffer)) ? sizeof (buffer) : len;
121 len -= alen;
133 size_t len;
146 if ((len = ftell(stdout)) > 0)
147 errors += copy_fd(cached_stdout_fd, stdout, len);
150 if ((len = ftell(stderr)) > 0)
151 errors += copy_fd(cached_stderr_fd, stderr, len);