summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2019-08-12 18:21:47 +0000
committerRich Felker <dalias@aerifal.cx>2019-09-11 10:40:11 -0400
commitcc1a53515b0058d1afe60a5a41daa047b745b896 (patch)
tree4c6ecc6867009bd392285ba8586e30ec061745ef /include
parent1e22eb2e8f6e778c72655e420c7fb4acf8170f49 (diff)
downloadmusl-cc1a53515b0058d1afe60a5a41daa047b745b896.tar.gz
musl-cc1a53515b0058d1afe60a5a41daa047b745b896.tar.bz2
musl-cc1a53515b0058d1afe60a5a41daa047b745b896.tar.xz
musl-cc1a53515b0058d1afe60a5a41daa047b745b896.zip
fcntl.h: add AT_STATX_ statx sync flag definitions
see linux commit a528d35e8bfcc521d7cb70aaf03e1bd296c8493f statx: Add a system call to make enhanced file info available these are linux specific and not reserved names for fcntl.h so they are under _BSD_SOURCE|_GNU_SOURCE.
Diffstat (limited to 'include')
-rw-r--r--include/fcntl.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/fcntl.h b/include/fcntl.h
index af293405..6c793b28 100644
--- a/include/fcntl.h
+++ b/include/fcntl.h
@@ -100,6 +100,10 @@ int posix_fallocate(int, off_t, off_t);
#if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
#define AT_NO_AUTOMOUNT 0x800
#define AT_EMPTY_PATH 0x1000
+#define AT_STATX_SYNC_TYPE 0x6000
+#define AT_STATX_SYNC_AS_STAT 0x0000
+#define AT_STATX_FORCE_SYNC 0x2000
+#define AT_STATX_DONT_SYNC 0x4000
#define FAPPEND O_APPEND
#define FFSYNC O_SYNC