diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2005-04-19 12:32:59 +0400 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2005-04-19 12:32:59 +0400 |
commit | d02099f2396a189ec56227b554b396178013d0b8 (patch) | |
tree | 648b2d1c00a6273096e8bfb2945df1e75a9c71a6 /winsup/cygwin/include/sys | |
parent | 3b4ed14c7cabd6362c6a4c923dc2bc4810b450ad (diff) |
* cygwin.din (pselect): Export.
* select.cc (pselect): New function.
* include/cygwin/version.h: Bump API minor number.
* include/sys/select.h: Include signal.h. Declare pselect.
Diffstat (limited to 'winsup/cygwin/include/sys')
-rw-r--r-- | winsup/cygwin/include/sys/select.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/winsup/cygwin/include/sys/select.h b/winsup/cygwin/include/sys/select.h index 666a151eb..b0f328327 100644 --- a/winsup/cygwin/include/sys/select.h +++ b/winsup/cygwin/include/sys/select.h @@ -23,10 +23,16 @@ details. */ #include <sys/time.h> #include <time.h> +/* Get definition of sigset_t. */ +#include <signal.h> + __BEGIN_DECLS int select __P ((int __n, fd_set *__readfds, fd_set *__writefds, fd_set *__exceptfds, struct timeval *__timeout)); +int pselect __P ((int __n, fd_set *__readfds, fd_set *__writefds, + fd_set *__exceptfds, const struct timespec *__timeout, + const sigset_t *__set)); __END_DECLS |