diff options
Diffstat (limited to 'src/sys/sys.h')
-rw-r--r-- | src/sys/sys.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sys/sys.h b/src/sys/sys.h index e455b82..66040f0 100644 --- a/src/sys/sys.h +++ b/src/sys/sys.h @@ -21,6 +21,9 @@ namespace sys { typedef void (* signalfunc)(int signum); +/// check if a path exists and if it is a directory +bool isdirectory(std::string const &path); + /// create a directory void mkdir(std::string const &path); |