diff options
author | Andreas Schwab <schwab@suse.de> | 2013-09-11 11:15:45 +0200 |
---|---|---|
committer | Andreas Schwab <schwab@suse.de> | 2013-09-11 11:52:46 +0200 |
commit | ffdd31816a67f48697ea4d6b852e58d2886d42ca (patch) | |
tree | ebc137d8c0ac0522567ad75b7cf7cec0ec7abed7 /ports/sysdeps/unix | |
parent | b73ed247781d533628b681f57257dc85882645d3 (diff) | |
download | glibc-ffdd31816a67f48697ea4d6b852e58d2886d42ca.tar glibc-ffdd31816a67f48697ea4d6b852e58d2886d42ca.tar.gz glibc-ffdd31816a67f48697ea4d6b852e58d2886d42ca.tar.bz2 glibc-ffdd31816a67f48697ea4d6b852e58d2886d42ca.zip |
Add O_TMPFILE to <fcntl.h>
Diffstat (limited to 'ports/sysdeps/unix')
-rw-r--r-- | ports/sysdeps/unix/sysv/linux/alpha/bits/fcntl.h | 1 | ||||
-rw-r--r-- | ports/sysdeps/unix/sysv/linux/hppa/bits/fcntl.h | 1 |
2 files changed, 2 insertions, 0 deletions
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 |