From: Ulrich Drepper Date: Wed, 26 Aug 1998 00:06:05 +0000 (+0000) Subject: Define O_DIRECT. X-Git-Tag: glibc-2.16-ports-before-merge~3127 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1af688f19cfe38e90eab09ba481e537a2c9a0703;p=thirdparty%2Fglibc.git Define O_DIRECT. Correct comment for O_LARGEFILE. --- diff --git a/sysdeps/unix/sysv/linux/alpha/bits/fcntl.h b/sysdeps/unix/sysv/linux/alpha/bits/fcntl.h index 0dc0c47b1a5..7cd32a34a35 100644 --- a/sysdeps/unix/sysv/linux/alpha/bits/fcntl.h +++ b/sysdeps/unix/sysv/linux/alpha/bits/fcntl.h @@ -43,7 +43,11 @@ #define O_FSYNC O_SYNC #define O_ASYNC 020000 /* fcntl, for BSD compatibility */ -/* XXX missing */ +#ifdef __USE_GNU +# define O_DIRECT 040000 /* Direct disk access. */ +#endif + +/* Not necessary, files are always with 64bit off_t. */ #define O_LARGEFILE 0 /* Values for the second argument to `fcntl'. */