diff options
Diffstat (limited to 'src/shared/util.h')
-rw-r--r-- | src/shared/util.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/shared/util.h b/src/shared/util.h index 55701cf7a5..fc4f9f2e22 100644 --- a/src/shared/util.h +++ b/src/shared/util.h @@ -282,6 +282,9 @@ char* dirname_malloc(const char *path); int chmod_and_chown(const char *path, mode_t mode, uid_t uid, gid_t gid); +int touch_file(const char *path, bool parents, usec_t stamp, uid_t uid, gid_t gid, mode_t mode); +int touch(const char *path); + bool null_or_empty(struct stat *st) _pure_; int null_or_empty_path(const char *fn); int null_or_empty_fd(int fd); |