Searched refs:read_sz (Results 1 – 1 of 1) sorted by relevance
100 size_t read_sz = 0, buf_sz = 0; in read_from_pipe() local114 if (buf_sz - read_sz < READ_SIZE + 1) { in read_from_pipe()117 buf_sz = read_sz + READ_SIZE + 1; in read_from_pipe()128 read_sz += fread(buf + read_sz, 1, READ_SIZE, file); in read_from_pipe()131 if (buf_sz - read_sz < 1) { in read_from_pipe()156 ((char *)buf)[read_sz] = '\0'; in read_from_pipe()164 *p_read_sz = read_sz; in read_from_pipe()