summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio
diff options
context:
space:
mode:
authorjmc <jmc@openbsd.org>2011-05-02 11:14:11 +0000
committerjmc <jmc@openbsd.org>2011-05-02 11:14:11 +0000
commit8580efa1a96f92199f4e77d1d6c4b78137962289 (patch)
tree26b86b354a08dea966b51075ee0355e1294d0b39 /lib/libc/stdio
parentRadeon HD3000; from Pedro la Peu. (diff)
downloadwireguard-openbsd-8580efa1a96f92199f4e77d1d6c4b78137962289.tar.xz
wireguard-openbsd-8580efa1a96f92199f4e77d1d6c4b78137962289.zip
no need to escape `|'; as discussed with schwartze
Diffstat (limited to 'lib/libc/stdio')
-rw-r--r--lib/libc/stdio/fopen.316
1 files changed, 3 insertions, 13 deletions
diff --git a/lib/libc/stdio/fopen.3 b/lib/libc/stdio/fopen.3
index be51398d27e..b406da943ba 100644
--- a/lib/libc/stdio/fopen.3
+++ b/lib/libc/stdio/fopen.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: fopen.3,v 1.22 2010/03/26 19:30:41 jmc Exp $
+.\" $OpenBSD: fopen.3,v 1.23 2011/05/02 11:14:11 jmc Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -31,7 +31,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: March 26 2010 $
+.Dd $Mdocdate: May 2 2011 $
.Dt FOPEN 3
.Os
.Sh NAME
@@ -103,17 +103,7 @@ to be forced to the current end-of-file, regardless of intervening
repositioning of the stream.
.Pp
Any created files will have mode
-.Pf \*q Dv S_IRUSR
-\&|
-.Dv S_IWUSR
-\&|
-.Dv S_IRGRP
-\&|
-.Dv S_IWGRP
-\&|
-.Dv S_IROTH
-\&|
-.Dv S_IWOTH Ns \*q
+.Qq Dv S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH
.Pq Li 0666 ,
as modified by the process'
umask value (see