]>
cloudbase.mooo.com Git - z180-stamp.git/blob - include/con-utils.h
2 * (C) Copyright 2014 Leo C. <erbl259-lmu@yahoo.de>
4 * SPDX-License-Identifier: GPL-2.0+
14 uint_fast8_t tstc(void);
16 int my_getchar(uint_fast8_t waitforchar
);
18 /* test if ctrl-c was pressed */
19 uint_fast8_t ctrlc(void);
22 /* pass 1 to disable ctrlc() checking, 0 to enable.
23 * returns previous state
25 uint_fast8_t disable_ctrlc(uint_fast8_t disable
);
27 uint_fast8_t had_ctrlc (void);
28 void clear_ctrlc(void);
30 #endif /* CON_UTILS_H */