16 lines
237 B
C
Executable File
16 lines
237 B
C
Executable File
/* 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 */
|