mirror of
https://repo.or.cz/socat.git
synced 2025-07-06 04:56:33 +00:00
MacOSX port: xiopoll() uses Select(), except when too many fds
This commit is contained in:
parent
097608e8a9
commit
b0d29f8dc7
6 changed files with 75 additions and 29 deletions
|
@ -74,7 +74,7 @@ extern int getusergroups(const char *user, gid_t *list, size_t *ngroups);
|
|||
extern const char *hstrerror(int err);
|
||||
#endif
|
||||
|
||||
extern int xiopoll(struct pollfd fds[], nfds_t nfds, int timeout);
|
||||
extern int xiopoll(struct pollfd fds[], nfds_t nfds, struct timeval *timeout);
|
||||
|
||||
extern int parseport(const char *portname, int proto);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue