SoDaRadio-12.2.0-cut_dependencies:6c82803
Loading...
Searching...
No Matches
FindHome.hxx File Reference
#include <string>

Go to the source code of this file.

Functions

std::string findHome ()
 Find the directory in which the calling program resides.

Function Documentation

◆ findHome()

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.

Returns
string pointing to the program's directory.