a20cfbeb28
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40358
16 lines
237 B
C
16 lines
237 B
C
/* Extremely inefficient but portable POSIX getch(), see getch.c */
|
|
#ifndef GETCH_H
|
|
#define GETCH_H
|
|
|
|
#if defined __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
int getch(void);
|
|
int kbhit(void);
|
|
|
|
#if defined __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* GETCH_H */
|