Lines Matching refs:rbuf
1229 char *rbuf = iobuf;
1245 count = safe_read(fromCgi.rd, rbuf + buf_count, PIPESIZE - 8);
1251 full_write(1, rbuf, buf_count);
1258 if (buf_count >= 8 && memcmp(rbuf, "Status: ", 8) == 0) {
1262 rbuf += 8; /* skip "Status: " */
1267 if (memcmp(rbuf, HTTP_200, 4) != 0) {
1273 if (!strstr(rbuf, "ontent-")) {
1285 count = safe_read(fromCgi.rd, rbuf, PIPESIZE);
1289 if (full_write(1, rbuf, count) != count)
1292 fprintf(stderr, "cgi read %d bytes: '%.*s'\n", count, count, rbuf);