SoDaRadio-5.0.3-master:8901fb5
|
#include "FindHome.hxx"
#include <libgen.h>
#include <unistd.h>
#include <iostream>
#include <stdexcept>
Go to the source code of this file.
Functions | |
std::string | findHome () |
Find the directory in which the calling program resides. More... | |
std::string findHome | ( | ) |
Find the directory in which the calling program resides.
Note this feature relies on the existance of the procfs. It works under Linux. I'm not sure what I'll do for other operating systems.
Definition at line 50 of file FindHome.cxx.
Referenced by main().