diff options
author | Andreas Jaeger <aj@suse.de> | 2004-08-23 07:28:45 +0000 |
---|---|---|
committer | Andreas Jaeger <aj@suse.de> | 2004-08-23 07:28:45 +0000 |
commit | e8805e8d3fbe3290a1e580e2b4267134cc40dc32 (patch) | |
tree | becca889729e7380d6abf37f556015e3ba956f21 /sysdeps | |
parent | e3e4621ebc171f6394dc5a230e235545cacb71d9 (diff) | |
download | glibc-e8805e8d3fbe3290a1e580e2b4267134cc40dc32.tar glibc-e8805e8d3fbe3290a1e580e2b4267134cc40dc32.tar.gz glibc-e8805e8d3fbe3290a1e580e2b4267134cc40dc32.tar.bz2 glibc-e8805e8d3fbe3290a1e580e2b4267134cc40dc32.zip |
[BZ #341]
(O_NOATIME): Define.
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/unix/sysv/linux/alpha/bits/fcntl.h | 1 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/arm/bits/fcntl.h | 1 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/cris/bits/fcntl.h | 1 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/hppa/bits/fcntl.h | 1 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/m68k/bits/fcntl.h | 1 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/mips/bits/fcntl.h | 1 |
6 files changed, 6 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/alpha/bits/fcntl.h b/sysdeps/unix/sysv/linux/alpha/bits/fcntl.h index 828cc75225..ce4a5da37f 100644 --- a/sysdeps/unix/sysv/linux/alpha/bits/fcntl.h +++ b/sysdeps/unix/sysv/linux/alpha/bits/fcntl.h @@ -47,6 +47,7 @@ # define O_DIRECT 040000 /* Direct disk access. */ # define O_DIRECTORY 0100000 /* Must be a directory. */ # define O_NOFOLLOW 0200000 /* Do not follow links. */ +# define O_NOATIME 04000000 /* Do not set atime. */ #endif #ifdef __USE_LARGEFILE64 diff --git a/sysdeps/unix/sysv/linux/arm/bits/fcntl.h b/sysdeps/unix/sysv/linux/arm/bits/fcntl.h index d050f7fbf7..3574e750ff 100644 --- a/sysdeps/unix/sysv/linux/arm/bits/fcntl.h +++ b/sysdeps/unix/sysv/linux/arm/bits/fcntl.h @@ -45,6 +45,7 @@ # define O_DIRECTORY 040000 /* Must be a directory. */ # define O_NOFOLLOW 0100000 /* Do not follow links. */ # define O_DIRECT 0200000 /* Direct disk access. */ +# define O_NOATIME 01000000 /* Do not set atime. */ #endif #ifdef __USE_LARGEFILE64 diff --git a/sysdeps/unix/sysv/linux/cris/bits/fcntl.h b/sysdeps/unix/sysv/linux/cris/bits/fcntl.h index 6abdd1d0b6..36799aa50e 100644 --- a/sysdeps/unix/sysv/linux/cris/bits/fcntl.h +++ b/sysdeps/unix/sysv/linux/cris/bits/fcntl.h @@ -46,6 +46,7 @@ # define O_DIRECT 040000 /* Direct disk access. */ # define O_DIRECTORY 0200000 /* Must be a directory. */ # define O_NOFOLLOW 0400000 /* Do not follow links. */ +# define O_NOATIME 01000000 /* Do not set atime. */ #endif /* For now Linux has synchronisity options for data and read operations. diff --git a/sysdeps/unix/sysv/linux/hppa/bits/fcntl.h b/sysdeps/unix/sysv/linux/hppa/bits/fcntl.h index 6cc96cf665..9d967c6475 100644 --- a/sysdeps/unix/sysv/linux/hppa/bits/fcntl.h +++ b/sysdeps/unix/sysv/linux/hppa/bits/fcntl.h @@ -47,6 +47,7 @@ # define O_DIRECT 00040000 /* direct disk access hint - currently ignored */ # define O_DIRECTORY 00010000 /* must be a directory */ # define O_NOFOLLOW 00000200 /* don't follow links */ +# define O_NOATIME 04000000 /* Do not set atime. */ #endif #ifdef __USE_LARGEFILE64 diff --git a/sysdeps/unix/sysv/linux/m68k/bits/fcntl.h b/sysdeps/unix/sysv/linux/m68k/bits/fcntl.h index 2e85d1e893..90c0a481e4 100644 --- a/sysdeps/unix/sysv/linux/m68k/bits/fcntl.h +++ b/sysdeps/unix/sysv/linux/m68k/bits/fcntl.h @@ -45,6 +45,7 @@ # define O_DIRECTORY 040000 /* Must be a directory. */ # define O_NOFOLLOW 0100000 /* Do not follow links. */ # define O_DIRECT 0200000 /* Direct disk access. */ +# define O_NOATIME 01000000 /* Do not set atime. */ #endif /* For now Linux has synchronisity options for data and read operations. diff --git a/sysdeps/unix/sysv/linux/mips/bits/fcntl.h b/sysdeps/unix/sysv/linux/mips/bits/fcntl.h index 48531d8c0b..550593b0e9 100644 --- a/sysdeps/unix/sysv/linux/mips/bits/fcntl.h +++ b/sysdeps/unix/sysv/linux/mips/bits/fcntl.h @@ -49,6 +49,7 @@ # define O_NOFOLLOW 0x20000 /* Do not follow links. */ # define O_DIRECT 0x8000 /* Direct disk access hint. */ # define O_DIRECTORY 0x10000 /* Must be a directory. */ +# define O_NOATIME 0x40000 /* Do not set atime. */ #endif #define O_NDELAY O_NONBLOCK |