From ffdd31816a67f48697ea4d6b852e58d2886d42ca Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Wed, 11 Sep 2013 11:15:45 +0200 Subject: Add O_TMPFILE to --- ports/sysdeps/unix/sysv/linux/alpha/bits/fcntl.h | 1 + ports/sysdeps/unix/sysv/linux/hppa/bits/fcntl.h | 1 + 2 files changed, 2 insertions(+) (limited to 'ports/sysdeps/unix') diff --git a/ports/sysdeps/unix/sysv/linux/alpha/bits/fcntl.h b/ports/sysdeps/unix/sysv/linux/alpha/bits/fcntl.h index 2e31691c2b..02c9a7f751 100644 --- a/ports/sysdeps/unix/sysv/linux/alpha/bits/fcntl.h +++ b/ports/sysdeps/unix/sysv/linux/alpha/bits/fcntl.h @@ -36,6 +36,7 @@ #define __O_DIRECT 02000000 /* Direct disk access. */ #define __O_NOATIME 04000000 /* Do not set atime. */ #define __O_PATH 040000000 /* Resolve pathname but do not open file. */ +#define __O_TMPFILE 0100100000 /* Atomically create nameless file. */ /* Not necessary, files are always with 64bit off_t. */ #define __O_LARGEFILE 0 diff --git a/ports/sysdeps/unix/sysv/linux/hppa/bits/fcntl.h b/ports/sysdeps/unix/sysv/linux/hppa/bits/fcntl.h index 744548a03e..76faa4086d 100644 --- a/ports/sysdeps/unix/sysv/linux/hppa/bits/fcntl.h +++ b/ports/sysdeps/unix/sysv/linux/hppa/bits/fcntl.h @@ -37,6 +37,7 @@ #define __O_CLOEXEC 010000000 /* Set close_on_exec. */ #define __O_NOATIME 004000000 /* Do not set atime. */ #define __O_PATH 020000000 +#define __O_TMPFILE 040010000 /* Atomically create nameless file. */ #define __O_LARGEFILE 00004000 -- cgit v1.2.3