aboutsummaryrefslogtreecommitdiffstats
path: root/man3/tmpfile.3
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2006-04-19 21:19:30 +0000
committerMichael Kerrisk <mtk.manpages@gmail.com>2006-04-19 21:19:30 +0000
commitaf8d55f9ceab45cfe3bf24ac331f9fbaadfec0fe (patch)
tree5d14df60bfa7521a0de95ffe2917bd6aac9fe10f /man3/tmpfile.3
parent2bb6d7e6ec8bb6a00adf2271c20db2f18e8243d9 (diff)
downloadman-pages-af8d55f9ceab45cfe3bf24ac331f9fbaadfec0fe.tar.gz
DESCRIPTION does not need to say "temporary file name" just "temporary
file", since the name is in any case unavailable to the user. See Debian bug 363518 In DESCRIPTION: Change /automatically deleted when the program terminates normally/ to /automatically deleted when the program terminates/ since that is the reality.
Diffstat (limited to 'man3/tmpfile.3')
-rw-r--r--man3/tmpfile.36
1 files changed, 3 insertions, 3 deletions
diff --git a/man3/tmpfile.3 b/man3/tmpfile.3
index 7d3fb8d31f..335c61113d 100644
--- a/man3/tmpfile.3
+++ b/man3/tmpfile.3
@@ -36,10 +36,10 @@ tmpfile \- create a temporary file
.B FILE *tmpfile (void);
.fi
.SH DESCRIPTION
-The \fBtmpfile\fP() function generates a unique temporary filename.
-The temporary file is then opened in binary read/write (w+b) mode.
+The \fBtmpfile\fP() function opens a unique temporary file
+in binary read/write (w+b) mode.
The file will be automatically deleted when it is closed or the
-program terminates normally.
+program terminates.
.SH "RETURN VALUE"
The \fBtmpfile\fP() function returns a stream descriptor, or NULL if
a unique filename cannot be generated or the unique file cannot be