diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-08-13 16:02:45 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-08-13 16:02:45 -0400 |
commit | c9333378605b67a13555f587955a900baf89cb60 (patch) | |
tree | 4fd9134ac7d7bd5e8b06eb6b32ee1b7cc0fe4781 /include/utils.h | |
parent | 4550b38cd0db6b89c913af0b3444dfd3f1beba36 (diff) | |
download | stasis-c9333378605b67a13555f587955a900baf89cb60.tar.gz |
Move mkdirs() into utils modulemove-mkdirs
Diffstat (limited to 'include/utils.h')
-rw-r--r-- | include/utils.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/utils.h b/include/utils.h index eee2e30..a3d244a 100644 --- a/include/utils.h +++ b/include/utils.h @@ -357,4 +357,12 @@ struct StrList *listdir(const char *path); */ long get_cpu_count(); +/** + * Create all leafs in directory path + * @param _path directory path to create + * @param mode mode_t permissions + * @return + */ +int mkdirs(const char *_path, mode_t mode); + #endif //STASIS_UTILS_H |