Back to index

glibc  2.9
select.c File Reference
#include <sys/types.h>
#include <sys/time.h>
#include <hurd.h>
#include <hurd/fd.h>

Go to the source code of this file.


int __select (int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, struct timeval *timeout)

Function Documentation

int __select ( int  nfds,
fd_set readfds,
fd_set writefds,
fd_set exceptfds,
struct timeval timeout 

Definition at line 30 of file select.c.

  struct timespec ts, *to;

  if (timeout)
      to = &ts;
      TIMEVAL_TO_TIMESPEC (timeout, to);
    to = NULL;

  return _hurd_select (nfds, NULL, readfds, writefds, exceptfds, to, NULL);

Here is the call graph for this function: