Rev 6099 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6099 | Rev 6536 | ||
---|---|---|---|
Line 17... | Line 17... | ||
17 | by __USE_W32_SOCKETS) the W32api winsock[2].h header which |
17 | by __USE_W32_SOCKETS) the W32api winsock[2].h header which |
18 | defines Windows versions of them. Note that a program which |
18 | defines Windows versions of them. Note that a program which |
19 | includes the W32api winsock[2].h header must know what it is doing; |
19 | includes the W32api winsock[2].h header must know what it is doing; |
20 | it must not call the Cygwin select function. |
20 | it must not call the Cygwin select function. |
21 | */ |
21 | */ |
22 | # if !(defined (_POSIX_SOURCE) || defined (_WINSOCK_H) || defined (_WINSOCKAPI_) || defined (__USE_W32_SOCKETS)) |
22 | # if !(defined (_WINSOCK_H) || defined (_WINSOCKAPI_) || defined (__USE_W32_SOCKETS)) |
Line 23... | Line 23... | ||
23 | 23 | ||
24 | #include |
- | |
25 | 24 | #include |
|
26 | #include |
25 | #include |
27 | #include |
26 | #include |
Line 28... | Line 27... | ||
28 | #include |
27 | #include |
Line 71... | Line 70... | ||
71 | 70 | ||
Line 72... | Line 71... | ||
72 | __BEGIN_DECLS |
71 | __BEGIN_DECLS |
73 | 72 | ||
- | 73 | int select __P ((int __n, fd_set *__readfds, fd_set *__writefds, |
|
74 | int select __P ((int __n, fd_set *__readfds, fd_set *__writefds, |
74 | fd_set *__exceptfds, struct timeval *__timeout)); |
75 | fd_set *__exceptfds, struct timeval *__timeout)); |
75 | #if __POSIX_VISIBLE >= 200112 |
76 | int pselect __P ((int __n, fd_set *__readfds, fd_set *__writefds, |
76 | int pselect __P ((int __n, fd_set *__readfds, fd_set *__writefds, |
- | 77 | fd_set *__exceptfds, const struct timespec *__timeout, |
|
Line 77... | Line 78... | ||
77 | fd_set *__exceptfds, const struct timespec *__timeout, |
78 | const sigset_t *__set)); |
Line 78... | Line 79... | ||
78 | const sigset_t *__set)); |
79 | #endif |
Line 79... | Line 80... | ||
79 | 80 | ||
Line 80... | Line 81... | ||
80 | __END_DECLS |
81 | __END_DECLS |