summaryrefslogtreecommitdiff
path: root/src/poll/struct_pollfd.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/poll/struct_pollfd.h')
-rw-r--r--src/poll/struct_pollfd.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/poll/struct_pollfd.h b/src/poll/struct_pollfd.h
new file mode 100644
index 00000000..2f609bb2
--- /dev/null
+++ b/src/poll/struct_pollfd.h
@@ -0,0 +1,12 @@
+#include <poll.h>
+
+struct pollfd {
+ int fd;
+ short events;
+ short revents;
+};
+
+/*
+XOPEN(400)
+POSIX(200809)
+*/