mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
[BZ #341] (O_NOATIME): Define.
This commit is contained in:
@ -47,6 +47,7 @@
|
|||||||
# define O_DIRECT 040000 /* Direct disk access. */
|
# define O_DIRECT 040000 /* Direct disk access. */
|
||||||
# define O_DIRECTORY 0100000 /* Must be a directory. */
|
# define O_DIRECTORY 0100000 /* Must be a directory. */
|
||||||
# define O_NOFOLLOW 0200000 /* Do not follow links. */
|
# define O_NOFOLLOW 0200000 /* Do not follow links. */
|
||||||
|
# define O_NOATIME 04000000 /* Do not set atime. */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __USE_LARGEFILE64
|
#ifdef __USE_LARGEFILE64
|
||||||
|
@ -45,6 +45,7 @@
|
|||||||
# define O_DIRECTORY 040000 /* Must be a directory. */
|
# define O_DIRECTORY 040000 /* Must be a directory. */
|
||||||
# define O_NOFOLLOW 0100000 /* Do not follow links. */
|
# define O_NOFOLLOW 0100000 /* Do not follow links. */
|
||||||
# define O_DIRECT 0200000 /* Direct disk access. */
|
# define O_DIRECT 0200000 /* Direct disk access. */
|
||||||
|
# define O_NOATIME 01000000 /* Do not set atime. */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __USE_LARGEFILE64
|
#ifdef __USE_LARGEFILE64
|
||||||
|
@ -46,6 +46,7 @@
|
|||||||
# define O_DIRECT 040000 /* Direct disk access. */
|
# define O_DIRECT 040000 /* Direct disk access. */
|
||||||
# define O_DIRECTORY 0200000 /* Must be a directory. */
|
# define O_DIRECTORY 0200000 /* Must be a directory. */
|
||||||
# define O_NOFOLLOW 0400000 /* Do not follow links. */
|
# define O_NOFOLLOW 0400000 /* Do not follow links. */
|
||||||
|
# define O_NOATIME 01000000 /* Do not set atime. */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* For now Linux has synchronisity options for data and read operations.
|
/* For now Linux has synchronisity options for data and read operations.
|
||||||
|
@ -47,6 +47,7 @@
|
|||||||
# define O_DIRECT 00040000 /* direct disk access hint - currently ignored */
|
# define O_DIRECT 00040000 /* direct disk access hint - currently ignored */
|
||||||
# define O_DIRECTORY 00010000 /* must be a directory */
|
# define O_DIRECTORY 00010000 /* must be a directory */
|
||||||
# define O_NOFOLLOW 00000200 /* don't follow links */
|
# define O_NOFOLLOW 00000200 /* don't follow links */
|
||||||
|
# define O_NOATIME 04000000 /* Do not set atime. */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __USE_LARGEFILE64
|
#ifdef __USE_LARGEFILE64
|
||||||
|
@ -46,6 +46,7 @@
|
|||||||
# define O_DIRECT 040000 /* Direct disk access. */
|
# define O_DIRECT 040000 /* Direct disk access. */
|
||||||
# define O_DIRECTORY 0200000 /* Must be a directory. */
|
# define O_DIRECTORY 0200000 /* Must be a directory. */
|
||||||
# define O_NOFOLLOW 0400000 /* Do not follow links. */
|
# define O_NOFOLLOW 0400000 /* Do not follow links. */
|
||||||
|
# define O_NOATIME 01000000 /* Do not set atime. */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* For now Linux has synchronisity options for data and read operations.
|
/* For now Linux has synchronisity options for data and read operations.
|
||||||
|
@ -45,6 +45,7 @@
|
|||||||
#ifdef __USE_GNU
|
#ifdef __USE_GNU
|
||||||
# define O_DIRECTORY 0200000 /* must be a directory */
|
# define O_DIRECTORY 0200000 /* must be a directory */
|
||||||
# define O_NOFOLLOW 0400000 /* don't follow links */
|
# define O_NOFOLLOW 0400000 /* don't follow links */
|
||||||
|
# define O_NOATIME 01000000 /* Do not set atime. */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __USE_LARGEFILE64
|
#ifdef __USE_LARGEFILE64
|
||||||
|
@ -45,6 +45,7 @@
|
|||||||
# define O_DIRECTORY 040000 /* Must be a directory. */
|
# define O_DIRECTORY 040000 /* Must be a directory. */
|
||||||
# define O_NOFOLLOW 0100000 /* Do not follow links. */
|
# define O_NOFOLLOW 0100000 /* Do not follow links. */
|
||||||
# define O_DIRECT 0200000 /* Direct disk access. */
|
# define O_DIRECT 0200000 /* Direct disk access. */
|
||||||
|
# define O_NOATIME 01000000 /* Do not set atime. */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* For now Linux has synchronisity options for data and read operations.
|
/* For now Linux has synchronisity options for data and read operations.
|
||||||
|
@ -49,6 +49,7 @@
|
|||||||
# define O_NOFOLLOW 0x20000 /* Do not follow links. */
|
# define O_NOFOLLOW 0x20000 /* Do not follow links. */
|
||||||
# define O_DIRECT 0x8000 /* Direct disk access hint. */
|
# define O_DIRECT 0x8000 /* Direct disk access hint. */
|
||||||
# define O_DIRECTORY 0x10000 /* Must be a directory. */
|
# define O_DIRECTORY 0x10000 /* Must be a directory. */
|
||||||
|
# define O_NOATIME 0x40000 /* Do not set atime. */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define O_NDELAY O_NONBLOCK
|
#define O_NDELAY O_NONBLOCK
|
||||||
|
@ -46,6 +46,7 @@
|
|||||||
# define O_DIRECT 0400000 /* Direct disk access. */
|
# define O_DIRECT 0400000 /* Direct disk access. */
|
||||||
# define O_DIRECTORY 040000 /* Must be a directory. */
|
# define O_DIRECTORY 040000 /* Must be a directory. */
|
||||||
# define O_NOFOLLOW 0100000 /* Do not follow links. */
|
# define O_NOFOLLOW 0100000 /* Do not follow links. */
|
||||||
|
# define O_NOATIME 01000000 /* Do not set atime. */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __USE_LARGEFILE64
|
#ifdef __USE_LARGEFILE64
|
||||||
|
@ -45,6 +45,7 @@
|
|||||||
# define O_DIRECT 040000 /* Direct disk access. */
|
# define O_DIRECT 040000 /* Direct disk access. */
|
||||||
# define O_DIRECTORY 0200000 /* Must be a directory. */
|
# define O_DIRECTORY 0200000 /* Must be a directory. */
|
||||||
# define O_NOFOLLOW 0400000 /* Do not follow links. */
|
# define O_NOFOLLOW 0400000 /* Do not follow links. */
|
||||||
|
# define O_NOATIME 01000000 /* Do not set atime. */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __USE_LARGEFILE64
|
#ifdef __USE_LARGEFILE64
|
||||||
|
@ -46,6 +46,7 @@
|
|||||||
# define O_DIRECT 040000 /* Direct disk access. */
|
# define O_DIRECT 040000 /* Direct disk access. */
|
||||||
# define O_DIRECTORY 0200000 /* Must be a directory. */
|
# define O_DIRECTORY 0200000 /* Must be a directory. */
|
||||||
# define O_NOFOLLOW 0400000 /* Do not follow links. */
|
# define O_NOFOLLOW 0400000 /* Do not follow links. */
|
||||||
|
# define O_NOATIME 01000000 /* Do not set atime. */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* For now Linux has synchronisity options for data and read operations.
|
/* For now Linux has synchronisity options for data and read operations.
|
||||||
|
@ -45,6 +45,7 @@
|
|||||||
# define O_DIRECTORY 0x10000 /* must be a directory */
|
# define O_DIRECTORY 0x10000 /* must be a directory */
|
||||||
# define O_NOFOLLOW 0x20000 /* don't follow links */
|
# define O_NOFOLLOW 0x20000 /* don't follow links */
|
||||||
# define O_DIRECT 0x100000 /* direct disk access hint */
|
# define O_DIRECT 0x100000 /* direct disk access hint */
|
||||||
|
# define O_NOATIME 0x200000 /* Do not set atime. */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __USE_LARGEFILE64
|
#ifdef __USE_LARGEFILE64
|
||||||
|
@ -46,6 +46,7 @@
|
|||||||
# define O_DIRECT 040000 /* Direct disk access. */
|
# define O_DIRECT 040000 /* Direct disk access. */
|
||||||
# define O_DIRECTORY 0200000 /* Must be a directory. */
|
# define O_DIRECTORY 0200000 /* Must be a directory. */
|
||||||
# define O_NOFOLLOW 0400000 /* Do not follow links. */
|
# define O_NOFOLLOW 0400000 /* Do not follow links. */
|
||||||
|
# define O_NOATIME 01000000 /* Do not set atime. */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* For now Linux has synchronisity options for data and read operations.
|
/* For now Linux has synchronisity options for data and read operations.
|
||||||
|
Reference in New Issue
Block a user