Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
linux.cpp File Reference
#include "precompiled.h"
#include "lib/sysdep/sysdep.h"
#include "lib/sysdep/os/unix/unix_executable_pathname.h"
Include dependency graph for linux.cpp:

Functions

static bool getPathFromProc (char *buffer, size_t length)
 
OsPath sys_ExecutablePathname ()
 

Function Documentation

◆ getPathFromProc()

static bool getPathFromProc ( char *  buffer,
size_t  length 
)
static

◆ sys_ExecutablePathname()

OsPath sys_ExecutablePathname ( )
Returns
full pathname of the current executable.

this is useful for determining installation directory, e.g. for VFS.