summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authortrasz <trasz@FreeBSD.org>2015-05-15 11:07:49 +0000
committertrasz <trasz@FreeBSD.org>2015-05-15 11:07:49 +0000
commit4fc33f4e825eedee8c78fc14aa10a9b6723d6a05 (patch)
tree7b10e6a599139313e266a9e1d7b55cc4dfad1f41 /lib
parent907ca38653efe628f91bb6e0b2bcc572bb6972b9 (diff)
downloadFreeBSD-src-4fc33f4e825eedee8c78fc14aa10a9b6723d6a05.zip
FreeBSD-src-4fc33f4e825eedee8c78fc14aa10a9b6723d6a05.tar.gz
MFC r280983:
Update open(2) to make it more obvious that O_NOCTTY and O_TTY_INIT are ignored. Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/sys/open.26
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/sys/open.2 b/lib/libc/sys/open.2
index 41a6c64..acd376c 100644
--- a/lib/libc/sys/open.2
+++ b/lib/libc/sys/open.2
@@ -28,7 +28,7 @@
.\" @(#)open.2 8.2 (Berkeley) 11/16/93
.\" $FreeBSD$
.\"
-.Dd February 7, 2013
+.Dd April 2, 2015
.Dt OPEN 2
.Os
.Sh NAME
@@ -115,8 +115,8 @@ O_DIRECT eliminate or reduce cache effects
O_FSYNC synchronous writes
O_SYNC synchronous writes
O_NOFOLLOW do not follow symlinks
-O_NOCTTY don't assign controlling terminal
-O_TTY_INIT restore default terminal attributes
+O_NOCTTY ignored
+O_TTY_INIT ignored
O_DIRECTORY error if file is not a directory
O_CLOEXEC set FD_CLOEXEC upon open
.Ed
OpenPOWER on IntegriCloud