about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-03-01 00:09:52 +0000
committerUlrich Drepper <drepper@redhat.com>2003-03-01 00:09:52 +0000
commitc340cedafcb9ab5bbd5531f8bfaf007f5cf8531e (patch)
treeb80876ef1fa6fb8292d73722be6a980b749a87a7 /sysdeps
parenta6963e69b585107132a602718536b5a9af9bb438 (diff)
downloadglibc-c340cedafcb9ab5bbd5531f8bfaf007f5cf8531e.tar.gz
glibc-c340cedafcb9ab5bbd5531f8bfaf007f5cf8531e.tar.xz
glibc-c340cedafcb9ab5bbd5531f8bfaf007f5cf8531e.zip
(O_DIRECT): Define.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h1
-rw-r--r--sysdeps/unix/sysv/linux/sparc/bits/fcntl.h3
2 files changed, 3 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h b/sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h
index 98608c554f..342fc6548f 100644
--- a/sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h
+++ b/sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h
@@ -45,6 +45,7 @@
 # define O_DIRECT	0400000	/* Direct disk access.	*/
 # define O_DIRECTORY	 040000	/* Must be a directory.	 */
 # define O_NOFOLLOW	0100000	/* Do not follow links.	 */
+# define O_DIRECT	0400000 /* Direct disk access.  */
 #endif
 
 #ifdef __USE_LARGEFILE64
diff --git a/sysdeps/unix/sysv/linux/sparc/bits/fcntl.h b/sysdeps/unix/sysv/linux/sparc/bits/fcntl.h
index af7af97601..13d1fc2029 100644
--- a/sysdeps/unix/sysv/linux/sparc/bits/fcntl.h
+++ b/sysdeps/unix/sysv/linux/sparc/bits/fcntl.h
@@ -1,5 +1,5 @@
 /* O_*, F_*, FD_* bit values for Linux/SPARC.
-   Copyright (C) 1995, 1996, 1997, 1998, 2000 Free Software Foundation, Inc.
+   Copyright (C) 1995,1996,1997,1998,2000,2003 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -43,6 +43,7 @@
 #ifdef __USE_GNU
 # define O_DIRECTORY	0x10000 /* must be a directory */
 # define O_NOFOLLOW	0x20000 /* don't follow links */
+# define O_DIRECT	0x100000 /* direct disk access hint */
 #endif
 
 #ifdef __USE_LARGEFILE64