Fix socket poll events values

This commit is contained in:
Daniel López Guimaraes 2024-05-04 16:22:11 +01:00
parent faf5162b60
commit 07cf742ca2
No known key found for this signature in database
GPG Key ID: 6AC74DE3DEF050E0

View File

@ -1,11 +1,13 @@
#pragma once
#define POLLIN 0x01
#define POLLPRI 0x02
#define POLLHUP 0x04 // unknown ???
#define POLLERR 0x08 // probably
#define POLLOUT 0x10
#define POLLNVAL 0x20
#define POLLIN 0x01
#define POLLPRI 0x02
#define POLLWRNORM 0x08
#define POLLWRBAND 0x10
#define POLLNVAL 0x20
#define POLLHUP 0x00 // Unknown?
#define POLLERR 0x00 // Unknown?
#define POLLOUT POLLWRNORM
typedef unsigned int nfds_t;