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