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