SHARE
TWEET

Untitled

a guest Feb 20th, 2013 37 Never
  1. int
  2. Select(int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds,
  3.        struct timeval *timeout)
  4. {
  5.         int             n;
  6.  
  7.         if ( (n = select(nfds, readfds, writefds, exceptfds, timeout)) < 0)
  8.                 err_sys("select error");
  9.         return(n);              /* can return 0 on timeout */
  10. }
RAW Paste Data
Top