/usr/include/gnelib/conioport.h is in libgnelib-dev 0.75+svn20091130-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | #ifndef _CONIOPORT_H_
#define _CONIOPORT_H_
#include <stdarg.h>
#ifdef __cplusplus
extern "C" {
#endif
void conio_init (int* enterKey, int* backspaceKey);
void conio_exit ();
int conio_kbhit ();
int conio_getch ();
void conio_gotoxy (int x, int y);
void conio_getxy(int* x, int* y);
//clears the console window. The cursor position after this operation is
//unchanged.
void conio_clear();
//conio_getsize returns x == y == 0 if it cannot get the size
void conio_getsize(int* x, int* y);
//conio_settitle sets a title for the console window, whereever possible,
//else does nothing.
void conio_settitle(const char* title);
void conio_putchar(int ch);
int conio_vprintf(const char* format, va_list ap);
int conio_vscanf(const char* format, va_list ap);
#ifdef __cplusplus
}
#endif
#endif
|