* 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.
This commit is contained in:
@@ -254,12 +254,13 @@ details. */
|
||||
125: LD_PRELOAD/CW_HOOK available.
|
||||
126: Export lsearch, lfind, timer_gettime.
|
||||
127: Export sigrelese.
|
||||
128: Export pselect.
|
||||
*/
|
||||
|
||||
/* Note that we forgot to bump the api for ualarm, strtoll, strtoull */
|
||||
|
||||
#define CYGWIN_VERSION_API_MAJOR 0
|
||||
#define CYGWIN_VERSION_API_MINOR 127
|
||||
#define CYGWIN_VERSION_API_MINOR 128
|
||||
|
||||
/* There is also a compatibity version number associated with the
|
||||
shared memory regions. It is incremented when incompatible
|
||||
|
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user