Pyrogenesis  trunk
Functions
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

static bool getPathFromProc ( char *  buffer,
size_t  length 
)
static
OsPath sys_ExecutablePathname ( )
Returns
full pathname of the current executable.

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