iselect.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. /* classes: h_files */
  2. #ifndef SCM_ISELECT_H
  3. #define SCM_ISELECT_H
  4. /* Copyright (C) 1997,1998,2000,2001, 2002, 2006,
  5. * 2013 Free Software Foundation, Inc.
  6. *
  7. * This library is free software; you can redistribute it and/or
  8. * modify it under the terms of the GNU Lesser General Public License
  9. * as published by the Free Software Foundation; either version 3 of
  10. * the License, or (at your option) any later version.
  11. *
  12. * This library is distributed in the hope that it will be useful, but
  13. * WITHOUT ANY WARRANTY; without even the implied warranty of
  14. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  15. * Lesser General Public License for more details.
  16. *
  17. * You should have received a copy of the GNU Lesser General Public
  18. * License along with this library; if not, write to the Free Software
  19. * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
  20. * 02110-1301 USA
  21. */
  22. #include "libguile/__scm.h"
  23. /* Needed for FD_SET on some systems. */
  24. #include <sys/types.h>
  25. #include <sys/select.h>
  26. SCM_API int scm_std_select (int fds,
  27. fd_set *rfds,
  28. fd_set *wfds,
  29. fd_set *efds,
  30. struct timeval *timeout);
  31. #define SELECT_TYPE fd_set
  32. #endif /* SCM_ISELECT_H */
  33. /*
  34. Local Variables:
  35. c-file-style: "gnu"
  36. End:
  37. */