Lines Matching refs:expected_ret
216 * expected_ret:
221 void send_byte(int fd, int expected_ret, int flags)
233 if (expected_ret < 0) {
239 if (errno != -expected_ret) {
251 if (expected_ret == 0)
265 * expected_ret:
270 void recv_byte(int fd, int expected_ret, int flags)
282 if (expected_ret < 0) {
288 if (errno != -expected_ret) {
300 if (expected_ret == 0)