File:  [gforth] / gforth / Attic / io.h
Revision 1.1: download - view: text, annotated - select for diffs
Fri Feb 11 16:30:46 1994 UTC (29 years, 1 month ago) by anton
Branches: MAIN
CVS tags: HEAD
Initial revision

    1: /* Input driver header */
    2: 
    3: unsigned char getkey(FILE *);
    4: int key_avail(FILE *);
    5: void prep_terminal();
    6: void deprep_terminal();
    7: void install_signal_handlers(void);
    8: 
    9: #define key()		getkey(stdin)
   10: #define key_query	-(!key_avail(stdin)) /* !! FLAG(...)? - anton */

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