From 5b9fbd354eddd80051de3cd17510d6be60274931 Mon Sep 17 00:00:00 2001 From: Goffredo Baroncelli Date: Mon, 16 Mar 2015 20:33:49 +0100 Subject: Add change_attr_fd() Add change_attr_fd() function to modify the file/directory attribute. --- src/shared/util.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/shared/util.h') diff --git a/src/shared/util.h b/src/shared/util.h index d229e1e68c..29e85bb7e1 100644 --- a/src/shared/util.h +++ b/src/shared/util.h @@ -1053,6 +1053,7 @@ int same_fd(int a, int b); int chattr_fd(int fd, bool b, unsigned mask); int chattr_path(const char *p, bool b, unsigned mask); +int change_attr_fd(int fd, unsigned value, unsigned mask); int read_attr_fd(int fd, unsigned *ret); int read_attr_path(const char *p, unsigned *ret); -- cgit v1.2.3-54-g00ecf