Adapt GDB integration to newest patches
[bpt/guile.git] / libguile / iselect.h
... / ...
CommitLineData
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#include <sys/select.h>
33
34SCM_API int scm_std_select (int fds,
35 fd_set *rfds,
36 fd_set *wfds,
37 fd_set *efds,
38 struct timeval *timeout);
39
40#define SELECT_TYPE fd_set
41
42#endif /* SCM_ISELECT_H */
43
44/*
45 Local Variables:
46 c-file-style: "gnu"
47 End:
48*/