Changeset 46eee43


Ignore:
Timestamp:
2015-06-04T16:52:01Z (5 years ago)
Author:
dequis <dx@…>
Parents:
d4f28ed
Message:

sock.h: Add EAGAIN check to sockerr_again()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sock.h

    rd4f28ed r46eee43  
    99#define sock_make_nonblocking(fd) fcntl(fd, F_SETFL, O_NONBLOCK)
    1010#define sock_make_blocking(fd) fcntl(fd, F_SETFL, 0)
    11 #define sockerr_again() (errno == EINPROGRESS || errno == EINTR)
     11#define sockerr_again() (errno == EINPROGRESS || errno == EINTR || errno == EAGAIN)
    1212void closesocket(int fd);
Note: See TracChangeset for help on using the changeset viewer.