Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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