summaryrefslogtreecommitdiffstats
path: root/man3/mkstemp.3
diff options
context:
space:
mode:
Diffstat (limited to 'man3/mkstemp.3')
-rw-r--r--man3/mkstemp.324
1 files changed, 12 insertions, 12 deletions
diff --git a/man3/mkstemp.3 b/man3/mkstemp.3
index c85dbd692..69790b3d8 100644
--- a/man3/mkstemp.3
+++ b/man3/mkstemp.3
@@ -31,7 +31,7 @@ Standard C library
.P
.RS -4
Feature Test Macro Requirements for glibc (see
-.BR feature_test_macros (7)):
+.MR feature_test_macros 7 ):
.RE
.P
.BR mkstemp ():
@@ -77,7 +77,7 @@ The file is created with
permissions 0600, that is, read plus write for owner only.
The returned file descriptor provides both read and write access to the file.
The file is opened with the
-.BR open (2)
+.MR open 2
.B O_EXCL
flag, guaranteeing that the caller is the process that creates the file.
.P
@@ -86,7 +86,7 @@ The
function is like
.BR mkstemp (),
with the difference that the following bits\[em]with the same meaning as for
-.BR open (2)\[em]may
+.MR open 2 \[em]may
be specified in
.IR flags :
.BR O_APPEND ,
@@ -103,7 +103,7 @@ and
in the
.I flags
argument given to
-.BR open (2);
+.MR open 2 ;
including these values in the
.I flags
argument given to
@@ -168,10 +168,10 @@ characters long, or the last 6 characters before the suffix in
were not XXXXXX.
.P
These functions may also fail with any of the errors described for
-.BR open (2).
+.MR open 2 .
.SH ATTRIBUTES
For an explanation of the terms used in this section, see
-.BR attributes (7).
+.MR attributes 7 .
.TS
allbox;
lbx lb lb
@@ -227,7 +227,7 @@ More generally, the POSIX specification of
does not say anything
about file modes, so the application should make sure its
file mode creation mask (see
-.BR umask (2))
+.MR umask 2 )
is set appropriately before calling
.BR mkstemp ()
(and
@@ -240,8 +240,8 @@ is set appropriately before calling
.\" for libc4, libc5, glibc1; glibc2 follows POSIX.1 and has the prototype in
.\" .IR <stdlib.h> .
.SH SEE ALSO
-.BR mkdtemp (3),
-.BR mktemp (3),
-.BR tempnam (3),
-.BR tmpfile (3),
-.BR tmpnam (3)
+.MR mkdtemp 3 ,
+.MR mktemp 3 ,
+.MR tempnam 3 ,
+.MR tmpfile 3 ,
+.MR tmpnam 3