Lines Matching refs:ret
167 int ret; \
168 ret = fcntl((fd), F_GETFL, 0); \
169 if (ret == -1 || fcntl((fd), F_SETFL, \
170 ret & ~O_NONBLOCK) == -1) \
183 int ret; \
184 ret = fcntl((fd), F_GETFL, 0); \
185 if (ret == -1 || fcntl((fd), F_SETFL, \
186 ret | O_NONBLOCK) == -1) \
292 #define IS_IO_ERROR(fd, ret, to) \
294 ((ret) < 0 && errno != EAGAIN && errno != EWOULDBLOCK) || \