This class represents the current host.
More...
#include <Host.hpp>
|
| static std::string | name () |
| | The machine hostname.
|
| static std::string | home_dir () |
| | The user home dir (e.g. /home/romain or C:\Users\romain).
|
| static std::string | tmp_dir () |
| | Temporary directory.
|
| static std::string | config_dir () |
| | The directory to store user-specific configuration.
|
| static std::string | cache_dir () |
| | The directory where software should store their cache files (e.g. $HOME/.cache).
|
This class represents the current host.
◆ cache_dir()
| std::string LIEF::runtime::Host::cache_dir |
( |
| ) |
|
|
static |
The directory where software should store their cache files (e.g. $HOME/.cache).
◆ config_dir()
| std::string LIEF::runtime::Host::config_dir |
( |
| ) |
|
|
static |
The directory to store user-specific configuration.
◆ home_dir()
| std::string LIEF::runtime::Host::home_dir |
( |
| ) |
|
|
static |
The user home dir (e.g. /home/romain or C:\Users\romain).
◆ name()
| std::string LIEF::runtime::Host::name |
( |
| ) |
|
|
static |
◆ tmp_dir()
| std::string LIEF::runtime::Host::tmp_dir |
( |
| ) |
|
|
static |
Temporary directory.
This function looks at the environment variables to determine the suitable temp directory (e.g. TEMP, TMPDIR)
The documentation for this class was generated from the following file: