home *** CD-ROM | disk | FTP | other *** search
/ Serving the Web / ServingTheWeb1995.disc1of1.iso / linux / slacksrce / d / libc / libc-4.6 / libc-4 / libc-linux / compat / __old_sel.c < prev    next >
Encoding:
C/C++ Source or Header  |  1993-02-17  |  230 b   |  14 lines

  1. #include <sys/time.h>
  2. #include "warning.h"
  3.  
  4. int
  5. __old_select (int nd, fd_set * in, fd_set * out, fd_set * ex,
  6.     struct timeval * tv)
  7. {
  8.   __LIBC_WARNING (select);
  9.  
  10.   if (nd > 32)
  11.     nd = 32;
  12.   return __select (nd, in, out, ex, tv);
  13. }
  14.