|
UFO: Alien Invasion
|
Some generic *nix functions. More...
#include <unistd.h>#include <sys/time.h>#include <stdlib.h>#include <sys/stat.h>#include <sys/types.h>#include <pwd.h>#include <dlfcn.h>#include <fcntl.h>#include <locale.h>#include <signal.h>#include <dirent.h>#include "../../common/common.h"#include "../system.h"#include "../../shared/bfd.h"
Go to the source code of this file.
Functions | |
| const char * | Sys_GetCurrentUser (void) |
| void | Sys_Error (const char *error,...) |
| Errors out of the game. | |
| void | Sys_Quit (void) |
| void | Sys_Backtrace (void) |
| On platforms supporting it, print a backtrace. | |
Some generic *nix functions.
Definition in file unix_main.cpp.
On platforms supporting it, print a backtrace.
Definition at line 230 of file unix_main.cpp.
References BUILDSTRING, Com_BreakIntoDebugger(), CPUSTRING, FILE, i, Sys_Fopen(), and UFO_VERSION.
Referenced by Sys_Error().
| void Sys_Error | ( | const char * | error, |
| ... ) |
Errors out of the game.
Definition at line 78 of file unix_main.cpp.
References Mem_Shutdown(), Q_vsnprintf(), Sys_Backtrace(), and Sys_ConsoleShutdown().
| const char * Sys_GetCurrentUser | ( | void | ) |
Definition at line 59 of file unix_main.cpp.
References MAX_VAR.
Definition at line 109 of file unix_main.cpp.
References CL_Shutdown(), Mem_Shutdown(), Qcommon_Shutdown(), and Sys_ConsoleShutdown().