Changeset 56c8a4f


Ignore:
Timestamp:
2015-06-04T17:13:22Z (4 years ago)
Author:
dequis <dx@…>
Branches:
master
Children:
61e7e02
Parents:
3a27896
git-author:
dequis <dx@…> (04-06-15 16:52:01)
git-committer:
dequis <dx@…> (04-06-15 17:13:22)
Message:

sock.h: Add EAGAIN check to sockerr_again()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sock.h

    r3a27896 r56c8a4f  
    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.