home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / mitsch75.zip / scheme-7_5_17-src.zip / scheme-7.5.17 / src / microcode / uxselect.h < prev    next >
C/C++ Source or Header  |  1999-01-02  |  2KB  |  49 lines

  1. /* -*-C-*-
  2.  
  3. $Id: uxselect.h,v 1.6 1999/01/02 06:11:34 cph Exp $
  4.  
  5. Copyright (c) 1991-1999 Massachusetts Institute of Technology
  6.  
  7. This program is free software; you can redistribute it and/or modify
  8. it under the terms of the GNU General Public License as published by
  9. the Free Software Foundation; either version 2 of the License, or (at
  10. your option) any later version.
  11.  
  12. This program is distributed in the hope that it will be useful, but
  13. WITHOUT ANY WARRANTY; without even the implied warranty of
  14. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  15. General Public License for more details.
  16.  
  17. You should have received a copy of the GNU General Public License
  18. along with this program; if not, write to the Free Software
  19. Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  20. */
  21.  
  22. #ifndef SCM_UXSELECT_H
  23. #define SCM_UXSELECT_H
  24.  
  25. enum select_input
  26. {
  27.   select_input_argument,
  28.   select_input_other,
  29.   select_input_none,
  30.   select_input_process_status,
  31.   select_input_interrupt
  32. };
  33.  
  34. extern enum select_input EXFUN (UX_select_input, (int fd, int blockp));
  35. extern unsigned int EXFUN (UX_select_registry_size, (void));
  36. extern unsigned int EXFUN (UX_select_registry_lub, (void));
  37. extern void EXFUN (UX_select_registry_clear_all, (PTR fds));
  38. extern void EXFUN (UX_select_registry_set, (PTR fds, unsigned int fd));
  39. extern void EXFUN (UX_select_registry_clear, (PTR fds, unsigned int fd));
  40. extern int EXFUN (UX_select_registry_is_set, (PTR fds, unsigned int fd));
  41. extern enum select_input EXFUN
  42.   (UX_select_registry_test,
  43.    (PTR input_fds, int blockp,
  44.     unsigned int * output_fds, unsigned int * output_nfds));
  45. extern enum select_input EXFUN
  46.   (UX_select_descriptor, (unsigned int fd, int blockp));
  47.  
  48. #endif /* SCM_UXSELECT_H */
  49.