iselect.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. #ifndef SCM_ISELECT_H
  2. #define SCM_ISELECT_H
  3. /* Copyright 1997-1998,2000-2002,2006,2013,2018
  4. Free Software Foundation, Inc.
  5. This file is part of Guile.
  6. Guile is free software: you can redistribute it and/or modify it
  7. under the terms of the GNU Lesser General Public License as published
  8. by the Free Software Foundation, either version 3 of the License, or
  9. (at your option) any later version.
  10. Guile is distributed in the hope that it will be useful, but WITHOUT
  11. ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  12. FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
  13. License for more details.
  14. You should have received a copy of the GNU Lesser General Public
  15. License along with Guile. If not, see
  16. <https://www.gnu.org/licenses/>. */
  17. #include <sys/types.h> /* Needed for FD_SET on some systems. */
  18. #include <sys/select.h>
  19. #include "libguile/scm.h"
  20. SCM_API int scm_std_select (int fds,
  21. fd_set *rfds,
  22. fd_set *wfds,
  23. fd_set *efds,
  24. struct timeval *timeout);
  25. #define SELECT_TYPE fd_set
  26. #endif /* SCM_ISELECT_H */