[Glibc-bsd-commits] r5714 - trunk/glibc-ports/kfreebsd/bits
stevenc-guest at alioth.debian.org
stevenc-guest at alioth.debian.org
Sun May 24 14:00:20 UTC 2015
Author: stevenc-guest
Date: 2015-05-24 14:00:19 +0000 (Sun, 24 May 2015)
New Revision: 5714
Modified:
trunk/glibc-ports/kfreebsd/bits/fcntl.h
Log:
provide F_DUPFD_CLOEXEC of POSIX.1-2008, implemented in kfreebsd-10
Modified: trunk/glibc-ports/kfreebsd/bits/fcntl.h
===================================================================
--- trunk/glibc-ports/kfreebsd/bits/fcntl.h 2015-05-23 14:52:10 UTC (rev 5713)
+++ trunk/glibc-ports/kfreebsd/bits/fcntl.h 2015-05-24 14:00:19 UTC (rev 5714)
@@ -148,6 +148,10 @@
#define F_SETLK64 12 /* Set record locking info (non-blocking). */
#define F_SETLKW64 13 /* Set record locking info (blocking). */
+#if __USE_BSD || __POSIX_VISIBLE >= 200809
+#define F_DUPFD_CLOEXEC 17 /* Like F_DUPFD, but FD_CLOEXEC is set */
+#endif
+
#if defined __USE_BSD || defined __USE_UNIX98
# define F_GETOWN 5 /* Get owner of socket (receiver of SIGIO). */
# define F_SETOWN 6 /* Set owner of socket (receiver of SIGIO). */
More information about the Glibc-bsd-commits
mailing list