diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-11-03 06:35:21 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-11-03 06:35:21 +0000 |
commit | d514bdb18810f5f2a62bf0ebd41b56ece1d4efab (patch) | |
tree | d25b70a0cd1fa3ae94754fbd314effb44b6f8418 /sys | |
parent | b3e5a174203cca3c49444754865c7a2c2dd643b7 (diff) |
O_NOCTTY == 0x8000 sez POSIX
Diffstat (limited to 'sys')
-rw-r--r-- | sys/sys/fcntl.h | 6 |
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 */ |