stat-util: add inode_type_to_string() helper for showing mode_t inode type as string

This commit is contained in:
Lennart Poettering
2023-03-29 18:27:04 +02:00
parent 8732cfb4bf
commit d83ce13636
2 changed files with 25 additions and 0 deletions
+2
View File
@@ -101,3 +101,5 @@ int statx_fallback(int dfd, const char *path, int flags, unsigned mask, struct s
void inode_hash_func(const struct stat *q, struct siphash *state);
int inode_compare_func(const struct stat *a, const struct stat *b);
extern const struct hash_ops inode_hash_ops;
const char* inode_type_to_string(mode_t m);