summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1996-11-03 06:35:20 +0000
committerderaadt <deraadt@openbsd.org>1996-11-03 06:35:20 +0000
commit7603bd37fa12eeb162e2f1bb4cadfb0788e352af (patch)
treea9147d318310a6c97f9ebbb4e4fe2f52efa4418f /sys
parentadded $OpenBSD$ tag (diff)
downloadwireguard-openbsd-7603bd37fa12eeb162e2f1bb4cadfb0788e352af.tar.xz
wireguard-openbsd-7603bd37fa12eeb162e2f1bb4cadfb0788e352af.zip
O_NOCTTY == 0x8000 sez POSIX
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/fcntl.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/sys/fcntl.h b/sys/sys/fcntl.h
index b960be866e5..da92fd3c6ce 100644
--- a/sys/sys/fcntl.h
+++ b/sys/sys/fcntl.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: fcntl.h,v 1.2 1996/03/03 12:11:44 niklas Exp $ */
+/* $OpenBSD: fcntl.h,v 1.3 1996/11/03 06:35:20 deraadt Exp $ */
/* $NetBSD: fcntl.h,v 1.8 1995/03/26 20:24:12 jtc Exp $ */
/*-
@@ -96,8 +96,8 @@
#define FHASLOCK 0x4000 /* descriptor holds advisory lock */
#endif
-/* defined by POSIX 1003.1; BSD default, so no bit required */
-#define O_NOCTTY 0 /* don't assign controlling terminal */
+/* defined by POSIX 1003.1; BSD default, this bit is not required */
+#define O_NOCTTY 0x8000 /* don't assign controlling terminal */
#ifdef _KERNEL
/* convert from open() flags to/from fflags; convert O_RD/WR to FREAD/FWRITE */