Skip to content

Commit

Permalink
make EAGAIN explicity
Browse files Browse the repository at this point in the history
  • Loading branch information
jrockway committed Dec 7, 2010
1 parent 042cbcb commit c9940ad
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions typemap
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ T_ERRORCODE
croak("Invalid argument");
case EINTR:
croak("Interrupted by syscall");
case EAGAIN:
croak("The operation would block, and no-block mode was requested.");
default:
croak("Unknown socket error");
}
Expand Down

0 comments on commit c9940ad

Please sign in to comment.