From fd70af45528d59a00eb3190ef6706cb299488fcd Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Tue, 10 Jul 2018 16:14:45 +0200 Subject: Add the statx function --- io/fcntl.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'io/fcntl.h') diff --git a/io/fcntl.h b/io/fcntl.h index 3afc62011a..6b0e9fa1fa 100644 --- a/io/fcntl.h +++ b/io/fcntl.h @@ -157,6 +157,10 @@ typedef __pid_t pid_t; # define AT_NO_AUTOMOUNT 0x800 /* Suppress terminal automount traversal. */ # define AT_EMPTY_PATH 0x1000 /* Allow empty relative pathname. */ +# 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 # endif # define AT_EACCESS 0x200 /* Test access permitted for effective IDs, not real IDs. */ -- cgit v1.2.3