Lines Matching refs:expected_ret
194 * expected_ret:
199 void send_byte(int fd, int expected_ret, int flags)
211 if (expected_ret < 0) {
217 if (errno != -expected_ret) {
229 if (expected_ret == 0)
243 * expected_ret:
248 void recv_byte(int fd, int expected_ret, int flags)
260 if (expected_ret < 0) {
266 if (errno != -expected_ret) {
278 if (expected_ret == 0)