EAGAIN in constants.c
This commit is contained in:
parent
2a59922c01
commit
21153b7d14
1 changed files with 3 additions and 0 deletions
|
@ -2,6 +2,7 @@
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <poll.h>
|
#include <poll.h>
|
||||||
|
#include <errno.h>
|
||||||
|
|
||||||
// printf("x %d\n", x);
|
// printf("x %d\n", x);
|
||||||
void main() {
|
void main() {
|
||||||
|
@ -17,4 +18,6 @@ void main() {
|
||||||
printf("POLLERR %d\n", POLLERR);
|
printf("POLLERR %d\n", POLLERR);
|
||||||
printf("POLLNVAL %d\n", POLLNVAL);
|
printf("POLLNVAL %d\n", POLLNVAL);
|
||||||
printf("SHUT_RDWR %d\n", SHUT_RDWR);
|
printf("SHUT_RDWR %d\n", SHUT_RDWR);
|
||||||
|
printf("EAGAIN %d\n", EAGAIN);
|
||||||
|
printf("EWOULDBLOCK %d\n", EWOULDBLOCK);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue