mirror of
https://github.com/adtools/clib2.git
synced 2025-12-08 14:59:05 +00:00
- Changed wait_select() to waitselect().
git-svn-id: file:///Users/olsen/Code/migration-svn-zu-git/logical-line-staging/clib2/trunk@15095 87f5fb63-7c3d-0410-a384-fd976d0f7a62
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
variable value for __break_signal_mask. This may have to be
|
variable value for __break_signal_mask. This may have to be
|
||||||
augmented by an API for changing the value.
|
augmented by an API for changing the value.
|
||||||
|
|
||||||
- Added a wait_select() function which works very much like the
|
- Added a waitselect() function which works very much like the
|
||||||
bsdsocket.library/WaitSelect() function.
|
bsdsocket.library/WaitSelect() function.
|
||||||
|
|
||||||
- Added <sys/time.h> include to <sys/socket.h> due to latest "TimeVal" change
|
- Added <sys/time.h> include to <sys/socket.h> due to latest "TimeVal" change
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: select.h,v 1.7 2006-04-05 07:53:30 obarthel Exp $
|
* $Id: select.h,v 1.8 2006-04-07 15:45:49 obarthel Exp $
|
||||||
*
|
*
|
||||||
* :ts=4
|
* :ts=4
|
||||||
*
|
*
|
||||||
@@ -120,9 +120,9 @@ extern int select(int nfds, fd_set *readfds,fd_set *writefds, fd_set *errorfds,s
|
|||||||
In brief, wait_select() works exactly like the bsdsocket.library/WaitSelect()
|
In brief, wait_select() works exactly like the bsdsocket.library/WaitSelect()
|
||||||
function. */
|
function. */
|
||||||
|
|
||||||
#ifndef __NO_WAIT_SELECT
|
#ifndef __NO_WAITSELECT
|
||||||
extern int wait_select(int num_fds,fd_set *read_fds,fd_set *write_fds,fd_set *except_fds,struct timeval *timeout,ULONG * signal_mask);
|
extern int waitselect(int num_fds,fd_set *read_fds,fd_set *write_fds,fd_set *except_fds,struct timeval *timeout,ULONG * signal_mask);
|
||||||
#endif /* __NO_WAIT_SELECT */
|
#endif /* __NO_WAITSELECT */
|
||||||
|
|
||||||
#endif /* __NO_NET_API */
|
#endif /* __NO_NET_API */
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: socket_wait_select.c,v 1.1 2006-04-05 07:53:24 obarthel Exp $
|
* $Id: socket_wait_select.c,v 1.2 2006-04-07 15:45:48 obarthel Exp $
|
||||||
*
|
*
|
||||||
* :ts=4
|
* :ts=4
|
||||||
*
|
*
|
||||||
@@ -42,7 +42,7 @@
|
|||||||
/****************************************************************************/
|
/****************************************************************************/
|
||||||
|
|
||||||
int
|
int
|
||||||
wait_select(int num_fds,fd_set *read_fds,fd_set *write_fds,fd_set *except_fds,struct timeval *timeout,ULONG * signal_mask)
|
waitselect(int num_fds,fd_set *read_fds,fd_set *write_fds,fd_set *except_fds,struct timeval *timeout,ULONG * signal_mask)
|
||||||
{
|
{
|
||||||
int result;
|
int result;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user