summaryrefslogtreecommitdiffstats
path: root/sys/sys/stat.h
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2013-03-21 22:59:01 +0000
committerpjd <pjd@FreeBSD.org>2013-03-21 22:59:01 +0000
commit635dbe90f28856681c546e79b162657930ba6248 (patch)
treec837bb52e4e3da9316dcdbedaadda8c664bf4f22 /sys/sys/stat.h
parent5fc1bac31561b1a789448e02dc042557d6fbbbdf (diff)
downloadFreeBSD-src-635dbe90f28856681c546e79b162657930ba6248.zip
FreeBSD-src-635dbe90f28856681c546e79b162657930ba6248.tar.gz
Implement chflagsat(2) system call, similar to fchmodat(2), but operates on
file flags. Reviewed by: kib, jilles Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'sys/sys/stat.h')
-rw-r--r--sys/sys/stat.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/sys/stat.h b/sys/sys/stat.h
index ec6efae..f430a9a 100644
--- a/sys/sys/stat.h
+++ b/sys/sys/stat.h
@@ -293,6 +293,7 @@ struct nstat {
__BEGIN_DECLS
#if __BSD_VISIBLE
int chflags(const char *, unsigned long);
+int chflagsat(int, const char *, unsigned long, int);
#endif
int chmod(const char *, mode_t);
#if __BSD_VISIBLE
OpenPOWER on IntegriCloud