Skip to content

Commit

Permalink
Fix socket poll events values
Browse files Browse the repository at this point in the history
  • Loading branch information
DaniElectra committed May 4, 2024
1 parent faf5162 commit 07cf742
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions libctru/include/poll.h
Original file line number Diff line number Diff line change
@@ -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;

Expand Down

0 comments on commit 07cf742

Please sign in to comment.