File:  [gforth] / gforth / Attic / io.h
Revision 1.2: download - view: text, annotated - select for diffs
Tue May 31 07:26:59 1994 UTC (29 years, 11 months ago) by benschop
Branches: MAIN
CVS tags: HEAD
reversed result of key_query

    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 */
   11:          		/* flag was originally wrong -- lennart */
   12: 

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