cvs commit

From: Date: Wed, 07 Jul 1999 02:43:58 +0000
Subject: cvs commit
Groups: php.dev 
Request: Send a blank email to php-dev+get-8150@lists.php.net to get a copy of this message
From: danny Date: Wed Jul 7 02:43:58 1999 Modified files: phpdoc/functions/filesystem.sgml Log message: Add warning about system-dependent behaviour of tempnam(). Index: phpdoc/functions/filesystem.sgml diff -u phpdoc/functions/filesystem.sgml:1.4 phpdoc/functions/filesystem.sgml:1.5 --- phpdoc/functions/filesystem.sgml:1.4 Sat Jun 19 23:04:56 1999 +++ phpdoc/functions/filesystem.sgml Wed Jul 7 02:43:57 1999 @@ -1633,6 +1633,15 @@ Creates a unique temporary filename in the specified directory. If the directory does not exist, <function>tempnam</function> may generate a filename in the system's temporary directory. + + <para> + The behaviour of the <function>tempnam</function> function is + system dependent. On Windows the TMP environment variable will + override the <parameter>dir</parameter> parameter, on Linux the + TMPDIR environment variable has precedence, while SVR4 will always + use your <parameter>dir</parameter> parameter if the directory it + points to exists. Consult your system documentation on the + tempnam(3) function if in doubt. <para> Returns the new temporary filename, or the null string on

« previous php.dev (#8150) next »