summaryrefslogtreecommitdiff
path: root/src/shared/util.h
diff options
context:
space:
mode:
authorGoffredo Baroncelli <kreijack@inwind.it>2015-03-16 20:33:49 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2015-03-19 22:20:12 -0400
commit5b9fbd354eddd80051de3cd17510d6be60274931 (patch)
treec5f54884acbd308f9cbce1e19fc6896696d1adb4 /src/shared/util.h
parent0ea37920e7ff6c548dd3388ec4a63b4d130674b4 (diff)
Add change_attr_fd()
Add change_attr_fd() function to modify the file/directory attribute.
Diffstat (limited to 'src/shared/util.h')
-rw-r--r--src/shared/util.h1
1 files changed, 1 insertions, 0 deletions
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);