summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/tmpnam.3
diff options
context:
space:
mode:
authorbentley <bentley@openbsd.org>2015-02-28 21:51:56 +0000
committerbentley <bentley@openbsd.org>2015-02-28 21:51:56 +0000
commit9dbd696514ef94fc24ee622023bb055d94c78640 (patch)
treecc83a924c252f976523f2306273efaa262692a9c /lib/libc/stdio/tmpnam.3
parentMove consinit() out of the bowels of the zs driver to its own file, in (diff)
downloadwireguard-openbsd-9dbd696514ef94fc24ee622023bb055d94c78640.tar.xz
wireguard-openbsd-9dbd696514ef94fc24ee622023bb055d94c78640.zip
Reduce usage of predefined strings in manpages.
Predefined strings are not very portable across troff implementations, and they make the source much harder to read. Usually the intended character can be written directly. No output changes, except for two instances where the incorrect escape was used in the first place. tweaks + ok schwarze@
Diffstat (limited to 'lib/libc/stdio/tmpnam.3')
-rw-r--r--lib/libc/stdio/tmpnam.36
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/stdio/tmpnam.3 b/lib/libc/stdio/tmpnam.3
index 29d151a683a..ab969a9a61f 100644
--- a/lib/libc/stdio/tmpnam.3
+++ b/lib/libc/stdio/tmpnam.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: tmpnam.3,v 1.20 2015/01/13 14:02:30 schwarze Exp $
+.\" $OpenBSD: tmpnam.3,v 1.21 2015/02/28 21:51:57 bentley Exp $
.\"
.\" Copyright (c) 1988, 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: January 13 2015 $
+.Dd $Mdocdate: February 28 2015 $
.Dt TMPFILE 3
.Os
.Sh NAME
@@ -60,7 +60,7 @@ reference to it is closed.
Since
.Xr mkstemp 3
creates the file with mode
-.Dv S_IRUSR \*(Ba S_IWUSR ,
+.Dv S_IRUSR | S_IWUSR ,
after the unlink,
.Xr fchown 2
and