diff options
author | Alon Zakai <alonzakai@gmail.com> | 2011-10-06 14:07:41 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2011-10-06 14:07:41 -0700 |
commit | 1b81b2562f3913f2d4fda5bd3a002430b51e0de4 (patch) | |
tree | cb08cc75e3a53d1c60c7a7f9e421094fdd316245 /system/include/poll.h | |
parent | c7e10b85b5e48322352edf631e6c450070f50dfd (diff) |
net-related headers
Diffstat (limited to 'system/include/poll.h')
-rw-r--r-- | system/include/poll.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/system/include/poll.h b/system/include/poll.h index 230f93c6..63c02b90 100644 --- a/system/include/poll.h +++ b/system/include/poll.h @@ -7,6 +7,7 @@ extern "C" { #define POLLOUT 2 #define POLLNVAL 4 #define POLLERR 8 +#define POLLHUP 16 struct pollfd { int fd; @@ -14,7 +15,7 @@ struct pollfd { short revents; }; -int poll(pollfd *data, int num, int extra); +int poll(struct pollfd *data, int num, int extra); #ifdef __cplusplus } |