diff options
Diffstat (limited to 'src/sys/sys.h')
-rw-r--r-- | src/sys/sys.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/sys/sys.h b/src/sys/sys.h index 66040f0..81eba94 100644 --- a/src/sys/sys.h +++ b/src/sys/sys.h @@ -19,18 +19,18 @@ */ namespace sys { -typedef void (* signalfunc)(int signum); +typedef void(* signalfunc)(int signum); -/// check if a path exists and if it is a directory -bool isdirectory(std::string const &path); +/// returns true if a path exists and it is a directory +bool isdirectory(const std::string &path); /// create a directory -void mkdir(std::string const &path); +void mkdir(const std::string &path); /// intercept OS signals void signal(int signum, signalfunc handler); -/** +/** * @brief operation system exit() application * @param status return value */ |