xattr-util: add trivial xsetxattr_strv() wrapper

This commit is contained in:
Lennart Poettering
2025-03-31 15:13:55 +02:00
parent ed024abac6
commit 9fbe26cfa8
2 changed files with 14 additions and 0 deletions
+2
View File
@@ -50,6 +50,8 @@ static inline int xsetxattr(
return xsetxattr_full(fd, path, at_flags, name, value, SIZE_MAX, 0);
}
int xsetxattr_strv(int fd, const char *path, int at_flags, const char *name, char *const*l);
int xremovexattr(int fd, const char *path, int at_flags, const char *name);
int fd_setcrtime(int fd, usec_t usec);