QuakeForge  0.7.2.210-815cf
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
sys.c File Reference

Macros

#define MAXPRINTMSG   4096
 
#define VA_COPY(a, b)   va_copy (a, b)
 

Typedefs

typedef struct sh_stack_s sh_stack_t
 
typedef struct shutdown_list_s shutdown_list_t
 

Functions

int Sys_CheckInput (int idle, int net_socket)
 
const char * Sys_ConsoleInput (void)
 
int Sys_CreatePath (const char *path)
 Create all parent directories leading to the file specified by path. More...
 
void Sys_DebugLog (const char *file, const char *fmt,...)
 
double Sys_DoubleTime (void)
 
void Sys_Error (const char *error,...)
 
char * Sys_ExpandSquiggle (const char *path)
 Expand leading "~/" in path to the user's home directory. More...
 
int Sys_FileExists (const char *path)
 
void Sys_Init (void)
 
void Sys_Init_Cvars (void)
 
int Sys_isdir (const char *path)
 
int64_t Sys_LongTime (void)
 
void Sys_MakeCodeWriteable (uintptr_t startaddr, size_t length)
 
void Sys_MaskFPUExceptions (void)
 
void Sys_MaskPrintf (int mask, const char *fmt,...)
 
int Sys_mkdir (const char *path)
 
void Sys_PageIn (void *ptr, int size)
 
void Sys_PopSignalHook (void)
 
void Sys_Print (FILE *stream, const char *fmt, va_list args)
 
void Sys_Printf (const char *fmt,...)
 
void Sys_PushSignalHook (int(*hook)(int, void *), void *data)
 
void Sys_Quit (void)
 
void Sys_RegisterShutdown (void(*func)(void))
 
void Sys_SetErrPrintf (sys_printf_t func)
 
void Sys_SetStdPrintf (sys_printf_t func)
 
void Sys_Shutdown (void)
 
int Sys_TimeID (void)
 
void Sys_TimeOfDay (date_t *date)
 

Variables

qboolean stdin_ready
 
const char sys_char_map [256]
 
int sys_checksum
 
cvar_tsys_dead_sleep
 
cvar_tsys_extrasleep
 
cvar_tsys_nostdout
 
cvar_tsys_sleep
 

Macro Definition Documentation

#define MAXPRINTMSG   4096
#define VA_COPY (   a,
 
)    va_copy (a, b)

Typedef Documentation

typedef struct sh_stack_s sh_stack_t
typedef struct shutdown_list_s shutdown_list_t

Variable Documentation

qboolean stdin_ready
int sys_checksum