summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2004-01-05 00:35:53 +0000
committerchristos <christos@NetBSD.org>2004-01-05 00:35:53 +0000
commitdee210d770e617843542a4fdbafa4a9770ca4d41 (patch)
tree29421c2e519deb023f8a0bf102cd288c56f01154 /sys
parent8a293ad18195decf0fd225b431485c23d6ed450c (diff)
Add F_CLOSEM, F_MAXFD.
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/fcntl.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/sys/fcntl.h b/sys/sys/fcntl.h
index 488894a5b0f..bc24c8a7e2d 100644
--- a/sys/sys/fcntl.h
+++ b/sys/sys/fcntl.h
@@ -1,4 +1,4 @@
-/* $NetBSD: fcntl.h,v 1.27 2003/08/07 16:34:03 agc Exp $ */
+/* $NetBSD: fcntl.h,v 1.28 2004/01/05 00:35:53 christos Exp $ */
/*-
* Copyright (c) 1983, 1990, 1993
@@ -169,6 +169,10 @@
#define F_GETLK 7 /* get record locking information */
#define F_SETLK 8 /* set record locking information */
#define F_SETLKW 9 /* F_SETLK; wait if blocked */
+#if defined(_NETBSD_SOURCE)
+#define F_CLOSEM 10 /* close all fds >= to the one given */
+#define F_MAXFD 11 /* return the max open fd */
+#endif
/* file descriptor flags (F_GETFD, F_SETFD) */
#define FD_CLOEXEC 1 /* close-on-exec flag */