aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/mach/hurd/bits/fcntl.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mach/hurd/bits/fcntl.h')
-rw-r--r--sysdeps/mach/hurd/bits/fcntl.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sysdeps/mach/hurd/bits/fcntl.h b/sysdeps/mach/hurd/bits/fcntl.h
index 34e6baa049..8ed786d256 100644
--- a/sysdeps/mach/hurd/bits/fcntl.h
+++ b/sysdeps/mach/hurd/bits/fcntl.h
@@ -163,6 +163,11 @@
#define F_SETLK 8 /* Set record locking info (non-blocking). */
#define F_SETLKW 9 /* Set record locking info (blocking). */
+#ifdef __USE_GNU
+# define F_DUPFD_CLOEXEC 1030 /* Duplicate, set FD_CLOEXEC on new one. */
+#endif
+
+
/* File descriptor flags used with F_GETFD and F_SETFD. */
#define FD_CLOEXEC 1 /* Close on exec. */