1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00

Add O_TMPFILE to <fcntl.h>

This commit is contained in:
Andreas Schwab
2013-09-11 11:15:45 +02:00
parent b73ed24778
commit ffdd31816a
7 changed files with 24 additions and 0 deletions

View File

@ -96,6 +96,9 @@
#ifndef __O_DSYNC
# define __O_DSYNC 010000
#endif
#ifndef __O_TMPFILE
# define __O_TMPFILE 020200000
#endif
#ifndef F_GETLK
# ifndef __USE_FILE_OFFSET64
@ -128,6 +131,7 @@
# define O_DIRECT __O_DIRECT /* Direct disk access. */
# define O_NOATIME __O_NOATIME /* Do not set atime. */
# define O_PATH __O_PATH /* Resolve pathname but do not open file. */
# define O_TMPFILE __O_TMPFILE /* Atomically create nameless file. */
#endif
/* For now, Linux has no separate synchronicitiy options for read