Fix socket poll events values
This commit is contained in:
parent
faf5162b60
commit
07cf742ca2
@ -1,11 +1,13 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#define POLLIN 0x01
|
#define POLLIN 0x01
|
||||||
#define POLLPRI 0x02
|
#define POLLPRI 0x02
|
||||||
#define POLLHUP 0x04 // unknown ???
|
#define POLLWRNORM 0x08
|
||||||
#define POLLERR 0x08 // probably
|
#define POLLWRBAND 0x10
|
||||||
#define POLLOUT 0x10
|
#define POLLNVAL 0x20
|
||||||
#define POLLNVAL 0x20
|
#define POLLHUP 0x00 // Unknown?
|
||||||
|
#define POLLERR 0x00 // Unknown?
|
||||||
|
#define POLLOUT POLLWRNORM
|
||||||
|
|
||||||
typedef unsigned int nfds_t;
|
typedef unsigned int nfds_t;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user