Lines Matching refs:errno
21 #include <errno.h>
64 errno = 0; \
67 errno = EAGAIN; \
72 errno = EINVAL; \
85 } while ((sel_ret) < 0 && errno == EINTR); \
88 /* something went wrong, errno set */ \
96 errno = EAGAIN; \
114 ** Failure: returns SM_IO_EOF and sets errno
160 errno = EAGAIN;
181 errno = EBADF;
250 errno = 0; /* needed to ensure EOF correctly found */
254 if (r == 0 && errno == 0)
257 goto err; /* errno set */