Operating system dependent functions. More...
Go to the source code of this file.
Namespaces | |
basis | |
basis::os | |
Macros | |
#define | _BASIS_OS_H |
Functions | |
bool | basis::os::emptydir (const std::string &path) |
Remove files and directories from directory. More... | |
std::string | basis::os::exedir () |
Get canonical path to directory containing executable file. More... | |
std::string | basis::os::exename () |
Get name of executable. More... | |
std::string | basis::os::exepath () |
Get canonical path of executable file. More... | |
std::string | basis::os::getcwd () |
Get absolute path of the (current) working directory. More... | |
bool | basis::os::makedirs (const std::string &path) |
Make directory including parent directories if required. More... | |
bool | basis::os::mkdir (const std::string &path) |
Make directory. More... | |
std::string | basis::os::readlink (const std::string &path) |
Read value of symbolic link. More... | |
bool | basis::os::rmdir (const std::string &path) |
Remove empty directory. More... | |
bool | basis::os::rmtree (const std::string &path) |
Remove whole directory tree. More... | |
Operating system dependent functions.
Definition in file os.h.