From: Nicholas Nethercote Date: Wed, 12 Apr 2006 11:10:46 +0000 (+0000) Subject: Add the O_LARGEFILE constant so people can use it when writing tools that X-Git-Tag: svn/VALGRIND_3_2_0~117 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=64fee8c4cea5447a38612988cf2a54c966c3f990;p=thirdparty%2Fvalgrind.git Add the O_LARGEFILE constant so people can use it when writing tools that generate large trace files (> 2GB). git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5842 --- diff --git a/include/vki-amd64-linux.h b/include/vki-amd64-linux.h index 3071e65839..aeb9113fa1 100644 --- a/include/vki-amd64-linux.h +++ b/include/vki-amd64-linux.h @@ -236,6 +236,7 @@ struct vki_sigcontext { #define VKI_O_TRUNC 01000 /* not fcntl */ #define VKI_O_APPEND 02000 #define VKI_O_NONBLOCK 04000 +#define VKI_O_LARGEFILE 0100000 #define VKI_F_DUPFD 0 /* dup */ #define VKI_F_GETFD 1 /* get close_on_exec */ diff --git a/include/vki-ppc32-linux.h b/include/vki-ppc32-linux.h index 65425fe3f1..db4fc762ac 100644 --- a/include/vki-ppc32-linux.h +++ b/include/vki-ppc32-linux.h @@ -289,6 +289,7 @@ struct vki_sigcontext { #define VKI_O_TRUNC 01000 /* not fcntl */ #define VKI_O_APPEND 02000 #define VKI_O_NONBLOCK 04000 +#define VKI_O_LARGEFILE 0200000 #define VKI_F_DUPFD 0 /* dup */ #define VKI_F_GETFD 1 /* get close_on_exec */ diff --git a/include/vki-ppc64-linux.h b/include/vki-ppc64-linux.h index 34a2886639..20e162e8dd 100644 --- a/include/vki-ppc64-linux.h +++ b/include/vki-ppc64-linux.h @@ -345,6 +345,7 @@ struct vki_sigcontext { #define VKI_O_TRUNC 01000 /* not fcntl */ #define VKI_O_APPEND 02000 #define VKI_O_NONBLOCK 04000 +#define VKI_O_LARGEFILE 0200000 #define VKI_F_DUPFD 0 /* dup */ #define VKI_F_GETFD 1 /* get close_on_exec */ diff --git a/include/vki-x86-linux.h b/include/vki-x86-linux.h index eb1c99edac..698ebbb1a2 100644 --- a/include/vki-x86-linux.h +++ b/include/vki-x86-linux.h @@ -268,6 +268,7 @@ struct vki_sigcontext { #define VKI_O_TRUNC 01000 /* not fcntl */ #define VKI_O_APPEND 02000 #define VKI_O_NONBLOCK 04000 +#define VKI_O_LARGEFILE 0100000 #define VKI_F_DUPFD 0 /* dup */ #define VKI_F_GETFD 1 /* get close_on_exec */