From 3feb92cd34a9eae26f2d40f74ba394c974e80579 Mon Sep 17 00:00:00 2001 From: "Jesus M. Castagnetto" Date: Sun, 20 Aug 2000 19:48:11 +0000 Subject: [PATCH] documentation for tmpfile git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@30649 c90b9560-bf6c-de11-be94-00142212c4b1 --- functions/filesystem.xml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/functions/filesystem.xml b/functions/filesystem.xml index 09abcfceb5..a1c8d7e417 100644 --- a/functions/filesystem.xml +++ b/functions/filesystem.xml @@ -2262,9 +2262,43 @@ $tmpfname = tempnam ("/tmp", "FOO"); + + See also tmpfile. + + + + tmpfile + Creates a temporary file + + + Description + + + int tmpfile + void + + + + Creates a temporary file with an unique name in write mode, + returning a file handle, similar to the one returned by + fopen + The file is automatically removed when closed (using + fclose), or when the script ends. + + + For details, consult your system documentation on the tmpfile(3) + function, as well as the stdio.h header file. + + + See also tempnam. + + + + + touch