3
Copyright (C) 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994,
4
1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
5
2006, 2007, 2008, 2009, 2010 Massachusetts Institute of Technology
7
This file is part of MIT/GNU Scheme.
9
MIT/GNU Scheme is free software; you can redistribute it and/or modify
10
it under the terms of the GNU General Public License as published by
11
the Free Software Foundation; either version 2 of the License, or (at
12
your option) any later version.
14
MIT/GNU Scheme 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
General Public License for more details.
19
You should have received a copy of the GNU General Public License
20
along with MIT/GNU Scheme; if not, write to the Free Software
21
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301,
26
#ifndef SCM_UXSELECT_H
27
#define SCM_UXSELECT_H
31
select_input_argument,
34
select_input_process_status,
35
select_input_interrupt
38
extern enum select_input UX_select_input (int fd, int blockp);
39
extern unsigned int UX_select_registry_size (void);
40
extern unsigned int UX_select_registry_lub (void);
41
extern void UX_select_registry_clear_all (void * fds);
42
extern void UX_select_registry_set (void * fds, unsigned int fd);
43
extern void UX_select_registry_clear (void * fds, unsigned int fd);
44
extern int UX_select_registry_is_set (void * fds, unsigned int fd);
45
extern enum select_input UX_select_registry_test
46
(void * input_fds, int blockp,
47
unsigned int * output_fds, unsigned int * output_nfds);
48
extern enum select_input UX_select_descriptor
49
(unsigned int fd, int blockp);
51
#endif /* SCM_UXSELECT_H */