svn commit: r280983 - head/lib/libc/sys

Edward Tomasz Napierala trasz at FreeBSD.org
Thu Apr 2 11:41:05 UTC 2015


Author: trasz
Date: Thu Apr  2 11:41:04 2015
New Revision: 280983
URL: https://svnweb.freebsd.org/changeset/base/280983

Log:
  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

Modified:
  head/lib/libc/sys/open.2

Modified: head/lib/libc/sys/open.2
==============================================================================
--- head/lib/libc/sys/open.2	Thu Apr  2 11:18:43 2015	(r280982)
+++ head/lib/libc/sys/open.2	Thu Apr  2 11:41:04 2015	(r280983)
@@ -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 effec
 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


More information about the svn-src-all mailing list