Annotation of gforth/io.h, revision 1.3

1.1       anton       1: /* Input driver header */
                      2: 
1.3     ! anton       3: #include <setjmp.h>
        !             4: 
1.1       anton       5: unsigned char getkey(FILE *);
1.3     ! anton       6: long key_avail(FILE *);
1.1       anton       7: void prep_terminal();
                      8: void deprep_terminal();
                      9: void install_signal_handlers(void);
1.3     ! anton      10: 
        !            11: extern jmp_buf throw_jmp_buf;
1.1       anton      12: 
                     13: #define key()          getkey(stdin)
1.2       benschop   14: #define key_query      -(!!key_avail(stdin)) /* !! FLAG(...)? - anton */
                     15:                        /* flag was originally wrong -- lennart */
                     16: 

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>