From 522196b5edabf1b400378d83af80e2dda83ef888 Mon Sep 17 00:00:00 2001 From: Edward Tomasz Napierala Date: Thu, 2 Apr 2015 11:41:04 +0000 Subject: [PATCH] Update open(2) to make it more obvious that O_NOCTTY and O_TTY_INIT are ignored. MFC after: 1 month Sponsored by: The FreeBSD Foundation --- lib/libc/sys/open.2 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/libc/sys/open.2 b/lib/libc/sys/open.2 index 41a6c6460f9..acd376cd227 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