diff options
author | ottopotto <otto_026@hotmail.com> | 2016-06-30 17:59:06 +0300 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-06-30 07:59:06 -0700 |
commit | 34a8f0811c972aedd812468ae13bf9c18010c267 (patch) | |
tree | 2156ad1a1273bfdd22902a08939d539b33a72f24 /src/basic/fs-util.h | |
parent | 30b42a9a36727ac6a5201d51b6d9cd9c788a559a (diff) |
journalctl: Make temporary files directory configurable (#3574)
journalctl: Use env variable TMPDIR to save temporary files
Diffstat (limited to 'src/basic/fs-util.h')
-rw-r--r-- | src/basic/fs-util.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/basic/fs-util.h b/src/basic/fs-util.h index 517b599d6f..075e5942b1 100644 --- a/src/basic/fs-util.h +++ b/src/basic/fs-util.h @@ -61,6 +61,8 @@ int mkfifo_atomic(const char *path, mode_t mode); int get_files_in_directory(const char *path, char ***list); +int var_tmp(char **ret); + #define INOTIFY_EVENT_MAX (sizeof(struct inotify_event) + NAME_MAX + 1) #define FOREACH_INOTIFY_EVENT(e, buffer, sz) \ |