Searched refs:read_sz (Results 1 – 1 of 1) sorted by relevance
118 size_t read_sz = 0, buf_sz = 0; in read_from_pipe() local133 if (buf_sz - read_sz < READ_SIZE + 1) { in read_from_pipe()136 buf_sz = read_sz + READ_SIZE + 1; in read_from_pipe()147 read_sz += fread(buf + read_sz, 1, READ_SIZE, file); in read_from_pipe()150 if (buf_sz - read_sz < 1) { in read_from_pipe()175 ((char *)buf)[read_sz] = '\0'; in read_from_pipe()183 *p_read_sz = read_sz; in read_from_pipe()