blob: 115c6bbc8633b53b20de648c25adbe92e2eedb1a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
errno.h(0P):
EAGAIN Resource unavailable, try again (may be the same value as [EWOULDBLOCK]).
[...]
EWOULDBLOCK
Operation would block (may be the same value as [EAGAIN]).
--- a/testapp.c
+++ b/testapp.c
@@ -1840,6 +1840,9 @@
switch (errno) {
case EINTR:
break;
+#if (EAGAIN != EWOULDBLOCK)
+ case EAGAIN:
+#endif
case ENOMEM:
case EWOULDBLOCK:
more = false;
|