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 / osterm.h < prev    next >
C/C++ Source or Header  |  1999-01-02  |  2KB  |  55 lines

  1. /* -*-C-*-
  2.  
  3. $Id: osterm.h,v 1.11 1999/01/02 06:11:34 cph Exp $
  4.  
  5. Copyright (c) 1990-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_OSTERM_H
  23. #define SCM_OSTERM_H
  24.  
  25. #include "os.h"
  26.  
  27. extern Tchannel EXFUN (arg_channel, (int));
  28. extern Tchannel EXFUN (arg_terminal, (int));
  29.  
  30. extern unsigned int EXFUN (OS_terminal_get_ispeed, (Tchannel channel));
  31. extern unsigned int EXFUN (OS_terminal_get_ospeed, (Tchannel channel));
  32. extern void EXFUN
  33.   (OS_terminal_set_ispeed, (Tchannel channel, unsigned int baud));
  34. extern void EXFUN
  35.   (OS_terminal_set_ospeed, (Tchannel channel, unsigned int baud));
  36. extern unsigned int EXFUN (arg_baud_index, (unsigned int argument));
  37. extern unsigned int EXFUN (OS_baud_index_to_rate, (unsigned int index));
  38. extern int EXFUN (OS_baud_rate_to_index, (unsigned int rate));
  39. extern unsigned int EXFUN (OS_terminal_state_size, (void));
  40. extern void EXFUN (OS_terminal_get_state, (Tchannel channel, PTR statep));
  41. extern void EXFUN (OS_terminal_set_state, (Tchannel channel, PTR statep));
  42. extern int EXFUN (OS_terminal_cooked_output_p, (Tchannel channel));
  43. extern void EXFUN (OS_terminal_raw_output, (Tchannel channel));
  44. extern void EXFUN (OS_terminal_cooked_output, (Tchannel channel));
  45. extern int EXFUN (OS_terminal_buffered_p, (Tchannel channel));
  46. extern void EXFUN (OS_terminal_buffered, (Tchannel channel));
  47. extern void EXFUN (OS_terminal_nonbuffered, (Tchannel channel));
  48. extern void EXFUN (OS_terminal_flush_input, (Tchannel channel));
  49. extern void EXFUN (OS_terminal_flush_output, (Tchannel channel));
  50. extern void EXFUN (OS_terminal_drain_output, (Tchannel channel));
  51. extern int EXFUN (OS_job_control_p, (void));
  52. extern int EXFUN (OS_have_ptys_p, (void));
  53.  
  54. #endif /* SCM_OSTERM_H */
  55.