summaryrefslogtreecommitdiff
path: root/src/basic/stat-util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-12-08 19:39:50 +0100
committerLennart Poettering <lennart@poettering.net>2016-12-20 20:00:09 +0100
commitffeb828596ebc9e5b20333c72862569b8b0875ad (patch)
tree793d48be362a52d33fa7fc4745f5318c200753e6 /src/basic/stat-util.h
parentae59114af9b33257e5121a24dfcca3834cf6d46f (diff)
util-lib: add new path_is_temporary_fs() API
As simple wrapper around fd_is_temporary_fs().
Diffstat (limited to 'src/basic/stat-util.h')
-rw-r--r--src/basic/stat-util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/basic/stat-util.h b/src/basic/stat-util.h
index 56d28f791e..5d571efe18 100644
--- a/src/basic/stat-util.h
+++ b/src/basic/stat-util.h
@@ -61,6 +61,7 @@ int path_check_fstype(const char *path, statfs_f_type_t magic_value);
bool is_temporary_fs(const struct statfs *s) _pure_;
int fd_is_temporary_fs(int fd);
+int path_is_temporary_fs(const char *path);
/* Because statfs.t_type can be int on some architectures, we have to cast
* the const magic to the type, otherwise the compiler warns about