aboutsummaryrefslogtreecommitdiffstats
path: root/man3/tmpfile.3
diff options
context:
space:
mode:
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