From 67b25fe0a8947de93e3eddd36dae24a9fec12ade Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Sun, 15 Apr 2012 17:05:10 -0400 Subject: 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. --- include/fcntl.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/fcntl.h') 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 -- cgit v1.2.1