summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012-04-15 17:05:10 -0400
committerRich Felker <dalias@aerifal.cx>2012-04-15 17:05:10 -0400
commit67b25fe0a8947de93e3eddd36dae24a9fec12ade (patch)
tree6de28fda32fd8bf399cd6f6b154d54bd030f1f2e /include
parenta68af229266d1a937a98fc7474ebe09b7c3c72b3 (diff)
downloadmusl-67b25fe0a8947de93e3eddd36dae24a9fec12ade.tar.gz
musl-67b25fe0a8947de93e3eddd36dae24a9fec12ade.tar.bz2
musl-67b25fe0a8947de93e3eddd36dae24a9fec12ade.tar.xz
musl-67b25fe0a8947de93e3eddd36dae24a9fec12ade.zip
move F_DUPFD_CLOEXEC out of bits
fcntl values 1024 and up are universal, arch-independent. later I'll add some of the other linux-specific ones for notify, leases, pipe size, etc. here too.
Diffstat (limited to 'include')
-rw-r--r--include/fcntl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/fcntl.h b/include/fcntl.h
index 1c18c6e2..24678b21 100644
--- a/include/fcntl.h
+++ b/include/fcntl.h
@@ -34,6 +34,8 @@ int posix_fallocate(int, off_t, off_t);
#define O_WRONLY 01
#define O_RDWR 02
+#define F_DUPFD_CLOEXEC 1030
+
#define F_RDLCK 0
#define F_WRLCK 1
#define F_UNLCK 2