X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=arch%2Fi386%2Fbits%2Ffcntl.h;fp=arch%2Fi386%2Fbits%2Ffcntl.h;h=61382eefe22b5d11c1533f8895bfed83b4474ac6;hp=802c3d14c15bd0a882298785730addfbe66e8f85;hb=685e40bb09f5f24a2af54ea09c97328808f76990;hpb=462dbfc20788a6c9dd1ea4bb1cef086aa189615a diff --git a/arch/i386/bits/fcntl.h b/arch/i386/bits/fcntl.h index 802c3d14..61382eef 100644 --- a/arch/i386/bits/fcntl.h +++ b/arch/i386/bits/fcntl.h @@ -14,12 +14,15 @@ #define O_NOFOLLOW 0400000 #define O_CLOEXEC 02000000 -#ifdef _GNU_SOURCE -#define O_NDELAY O_NONBLOCK +/* Extensions, but in the reserved namespace, so OK */ #define O_ASYNC 020000 #define O_DIRECT 040000 +#define O_LARGEFILE 0100000 #define O_NOATIME 01000000 +#define O_NDELAY O_NONBLOCK #define F_DUPFD_CLOEXEC 1030 + +#ifdef _GNU_SOURCE #define FAPPENT O_APPEND #define FFSYNC O_FSYNC #define FASYNC O_ASYNC