[gforth] / gforth / Attic / io.h  

gforth: gforth/Attic/io.h

File: [gforth] / gforth / Attic / io.h (download) (as text)
Revision: 1.3, Fri Jul 8 15:00:48 1994 UTC (18 years, 10 months ago) by anton
Branch: MAIN
Changes since 1.2: +5 -1 lines
signals are now translated into THROWs
A number of bug fixes (make a diff of BUGS for details)
added assert.fs and debugging.fs
made .s nicer
keep names of included files (in loadfilename) and print them upon error

/* Input driver header */

#include <setjmp.h>

unsigned char getkey(FILE *);
long key_avail(FILE *);
void prep_terminal();
void deprep_terminal();
void install_signal_handlers(void);

extern jmp_buf throw_jmp_buf;

#define key()		getkey(stdin)
#define key_query	-(!!key_avail(stdin)) /* !! FLAG(...)? - anton */
         		/* flag was originally wrong -- lennart */


CVS Admin

Powered by ViewCVS 1.0-dev
(Powered by ViewCVS)

ViewCVS and CVS Help