Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/sys/sys.h')
-rw-r--r--src/sys/sys.h10
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
*/