summaryrefslogtreecommitdiff
path: root/man3/mkstemp.3
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2006-05-22 21:32:54 +0000
committerMichael Kerrisk <mtk.manpages@gmail.com>2006-05-22 21:32:54 +0000
commitc00a8870eb0e2432e81aeefec3d533cd8c721641 (patch)
treea34942c821257fa0f012ce2c6020f1d01ab71e36 /man3/mkstemp.3
parent3721893add6f928be8c923d52a28b7e07d1a90da (diff)
Clarify that O_EXCL is an open(2) flag.
Diffstat (limited to 'man3/mkstemp.3')
-rw-r--r--man3/mkstemp.35
1 files changed, 4 insertions, 1 deletions
diff --git a/man3/mkstemp.3 b/man3/mkstemp.3
index 5058c4ad..c9d002d7 100644
--- a/man3/mkstemp.3
+++ b/man3/mkstemp.3
@@ -46,7 +46,10 @@ permissions 0666 (glibc 2.0.6 and earlier), 0600 (glibc 2.0.7 and later).
Since it will be modified,
.I template
must not be a string constant, but should be declared as a character array.
-The file is opened with the O_EXCL flag, guaranteeing that when
+The file is opened with the
+.BR open (2)
+.B O_EXCL
+flag, guaranteeing that when
.BR mkstemp ()
returns successfully we are the only user.
.SH "RETURN VALUE"