Lines Matching refs:rc
160 int rc;
168 rc = kill(c->pid, SIGHUP);
169 if (rc < 0)
266 size_t rc;
278 rc = netwrite(c->req_write_pipe, hdr, octets);
280 if (rc == octets) {
282 rc = netwrite(c->req_write_pipe, data, octets);
283 if (rc == octets)
289 rc, octets);
304 size_t rc;
310 rc = netread(c->req_read_pipe, &hdr, sizeof(hdr));
312 if (0 == rc) {
315 } else if (rc != sizeof(hdr)) {
318 rc, sizeof(hdr));
324 rc = netread(c->req_read_pipe, (char *)(req + 1),
327 if (rc != octets)
330 rc, octets);
353 size_t rc;
358 rc = netwrite(c->resp_write_pipe, resp, octets);
361 if (octets == rc)
365 rc, octets));
377 size_t rc;
383 rc = netread(c->resp_read_pipe, &hdr, sizeof(hdr));
385 if (0 == rc) {
387 } else if (rc != sizeof(hdr)) {
389 rc, sizeof(hdr)));
399 rc = netread(c->resp_read_pipe, (char *)(resp + 1),
402 if (rc != octets)
404 rc, octets));
445 int rc;
462 rc = pipe_socketpair(&blocking_pipes[0], &was_pipe);
463 if (0 != rc) {
466 rc = pipe_socketpair(&blocking_pipes[2], &is_pipe);
467 if (0 != rc) {
475 if (0 != rc) {