diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-12-08 19:39:50 +0100 |
---|---|---|
committer | Sven Eden <yamakuzure@gmx.net> | 2017-07-17 17:58:35 +0200 |
commit | 277d0c5729bd21cd925596d4ca806c32aa7c8db5 (patch) | |
tree | da60075b94ecc049ca5d7917bd8f5cd8ff5b3d68 /src/basic/stat-util.h | |
parent | 2ab3c9b133f3a79f940593cc40b4555f6bfd7f4a (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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/basic/stat-util.h b/src/basic/stat-util.h index 077bfdd50..168cb3cb5 100644 --- a/src/basic/stat-util.h +++ b/src/basic/stat-util.h @@ -71,6 +71,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 |