[gforth] / gforth / Attic / io.h  

gforth: gforth/Attic/io.h

Diff for /gforth/Attic/io.h between version 1.2 and 1.3

version 1.2, Tue May 31 07:26:59 1994 UTC version 1.3, Fri Jul 8 15:00:48 1994 UTC
Line 1 
Line 1 
 /* Input driver header */  /* Input driver header */
   
   #include <setjmp.h>
   
 unsigned char getkey(FILE *);  unsigned char getkey(FILE *);
 int key_avail(FILE *);  long key_avail(FILE *);
 void prep_terminal();  void prep_terminal();
 void deprep_terminal();  void deprep_terminal();
 void install_signal_handlers(void);  void install_signal_handlers(void);
   
   extern jmp_buf throw_jmp_buf;
   
 #define key()           getkey(stdin)  #define key()           getkey(stdin)
 #define key_query       -(!!key_avail(stdin)) /* !! FLAG(...)? - anton */  #define key_query       -(!!key_avail(stdin)) /* !! FLAG(...)? - anton */
                         /* flag was originally wrong -- lennart */                          /* flag was originally wrong -- lennart */


Generate output suitable for use with a patch program
Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

CVS Admin

Powered by ViewCVS 1.0-dev
(Powered by ViewCVS)

ViewCVS and CVS Help