diff options
| author | Michael Kerrisk <mtk.manpages@gmail.com> | 2007-05-12 09:06:04 +0000 |
|---|---|---|
| committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2007-05-12 09:06:04 +0000 |
| commit | 60a90ecdae7bf6d1a91dc5d1d7177e400b114e47 (patch) | |
| tree | 9f7c19a897084607a9688be5414d0d4cd6391b54 /man3/tmpfile.3 | |
| parent | d92a60f2575c95cd532b822e4fb983c3a9e35641 (diff) | |
| download | man-pages-60a90ecdae7bf6d1a91dc5d1d7177e400b114e47.tar.gz | |
Convert function formatting of the form "\fBname\fP()" to ".BR name ()".
Diffstat (limited to 'man3/tmpfile.3')
| -rw-r--r-- | man3/tmpfile.3 | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/man3/tmpfile.3 b/man3/tmpfile.3 index ec2ebf5a94..ac7d7c5749 100644 --- a/man3/tmpfile.3 +++ b/man3/tmpfile.3 @@ -36,12 +36,16 @@ tmpfile \- create a temporary file .B FILE *tmpfile(void); .fi .SH DESCRIPTION -The \fBtmpfile\fP() function opens a unique temporary file +The +.BR tmpfile () +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. .SH "RETURN VALUE" -The \fBtmpfile\fP() function returns a stream descriptor, or NULL if +The +.BR tmpfile () +function returns a stream descriptor, or NULL if a unique filename cannot be generated or the unique file cannot be opened. In the latter case, \fIerrno\fP is set to indicate the error. |
