Searched refs:read_sz (Results 1 – 1 of 1) sorted by relevance
115 size_t read_sz = 0, buf_sz = 0; in read_from_pipe() local130 if (buf_sz - read_sz < READ_SIZE + 1) { in read_from_pipe()133 buf_sz = read_sz + READ_SIZE + 1; in read_from_pipe()144 read_sz += fread(buf + read_sz, 1, READ_SIZE, file); in read_from_pipe()147 if (buf_sz - read_sz < 1) { in read_from_pipe()172 ((char *)buf)[read_sz] = '\0'; in read_from_pipe()180 *p_read_sz = read_sz; in read_from_pipe()