libzed 1.9.9
A general-purpose library for quick and simple data manipulation.
 
Loading...
Searching...
No Matches
execdir.hpp
1#include "dirname.hpp"
2#include "executable.hpp"
3
4namespace z {
5namespace file {
11inline zpath execdir() noexcept {
12 return dirname(executable());
13}
14} // namespace file
15} // namespace z
zpath executable() noexcept
Get the full path of the running executable.
zpath execdir() noexcept
Get the directory path of the running executable.
Definition execdir.hpp:11
zpath dirname(const zpath &path) noexcept
Get the directory part of a file name.