shithub: qk1

ref: 8f12e13c9d1485183666c71eeab428066f0077b6
dir: /sys.h/

View raw version
// sys.h -- non-portable functions

enum{
	THin	= 1,
	THsnd	= 2,
	THnet	= 3
};

void	Sys_Error(char *, ...);
void	Sys_Printf(char *, ...);
void	Sys_Quit(void);
void	Sys_LowFPPrecision(void);
void	Sys_HighFPPrecision(void);
void*	emalloc(ulong);
ulong	Sys_FileTime(char *);
void	Sys_mkdir(char *);
vlong	flen(int);
void	eread(int, void *, long);
void	ewrite(int, void *, long);
double	Sys_FloatTime(void);
char*	Sys_ConsoleInput(void);
void	Sys_SendKeyEvents(void);	// call Key_Event() until the input queue is empty