Lines Matching refs:rc
19 int rc; in qrtr_getname() local
21 rc = getsockname(sock, (void *)sq, &sl); in qrtr_getname()
22 if (rc) { in qrtr_getname()
37 int rc; in qrtr_open() local
48 rc = setsockopt(sock, SOL_SOCKET, SO_RCVTIMEO, &tv, sizeof(tv)); in qrtr_open()
49 if (rc) { in qrtr_open()
61 rc = bind(sock, (void *)&sq, sizeof(sq)); in qrtr_open()
62 if (rc < 0) { in qrtr_open()
82 int rc; in qrtr_sendto() local
88 rc = sendto(sock, data, sz, 0, (void *)&sq, sizeof(sq)); in qrtr_sendto()
89 if (rc < 0) { in qrtr_sendto()
192 int rc; in qrtr_recv() local
194 rc = recv(sock, buf, bsz, 0); in qrtr_recv()
195 if (rc < 0) in qrtr_recv()
197 return rc; in qrtr_recv()
204 int rc; in qrtr_recvfrom() local
207 rc = recvfrom(sock, buf, bsz, 0, (void *)&sq, &sl); in qrtr_recvfrom()
208 if (rc < 0) { in qrtr_recvfrom()
210 return rc; in qrtr_recvfrom()
216 return rc; in qrtr_recvfrom()