~ubuntu-branches/ubuntu/trusty/mit-scheme/trusty

« back to all changes in this revision

Viewing changes to src/microcode/uxselect.h

  • Committer: Package Import Robot
  • Author(s): Chris Hanson
  • Date: 2011-10-15 03:08:33 UTC
  • mfrom: (1.1.8) (3.1.7 sid)
  • Revision ID: package-import@ubuntu.com-20111015030833-x7qc6yxuulvxbafv
Tags: 9.1-1
* New upstream.
* debian/control, debian/copyright, debian/mit-scheme-doc.*,
  debian/mit-scheme.install, debian/rules, Upstream has removed cover
  texts from documentation licenses, so merge packages mit-scheme and
  mit-scheme-doc back together.
* debian/compat: Bump to current version.
* debian/control: Bump standards-version to current and make
  necessary changes.
* debian/rules: Fix lintian warnings.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* -*-C-*-
2
 
 
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
6
 
 
7
 
This file is part of MIT/GNU Scheme.
8
 
 
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.
13
 
 
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.
18
 
 
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,
22
 
USA.
23
 
 
24
 
*/
25
 
 
26
 
#ifndef SCM_UXSELECT_H
27
 
#define SCM_UXSELECT_H
28
 
 
29
 
enum select_input
30
 
{
31
 
  select_input_argument,
32
 
  select_input_other,
33
 
  select_input_none,
34
 
  select_input_process_status,
35
 
  select_input_interrupt
36
 
};
37
 
 
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);
50
 
 
51
 
#endif /* SCM_UXSELECT_H */