summaryrefslogtreecommitdiff
path: root/system/include/sys/poll.h
diff options
context:
space:
mode:
Diffstat (limited to 'system/include/sys/poll.h')
-rw-r--r--system/include/sys/poll.h31
1 files changed, 0 insertions, 31 deletions
diff --git a/system/include/sys/poll.h b/system/include/sys/poll.h
deleted file mode 100644
index 7521ed0e..00000000
--- a/system/include/sys/poll.h
+++ /dev/null
@@ -1,31 +0,0 @@
-
-#ifndef _SYS_POLL_H
-#define _SYS_POLL_H
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#define POLLIN 1
-#define POLLOUT 2
-#define POLLNVAL 4
-#define POLLERR 8
-#define POLLHUP 16
-#define POLLPRI 32
-
-struct pollfd {
- int fd;
- short events;
- short revents;
-};
-
-typedef unsigned int nfds_t;
-
-int poll(struct pollfd *data, nfds_t num, int extra);
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif
-