Refine description of touch

Add a note that should prevent others from reimplementing utime,
because they did not find touch in the manual :-)


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@66868 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Sascha Schumann 2002-01-04 13:36:20 +00:00
parent d0924f5960
commit 885d774a92

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.110 $ -->
<!-- $Revision: 1.111 $ -->
<reference id="ref.filesystem">
<title>Filesystem functions</title>
<titleabbrev>Filesystem</titleabbrev>
@ -2914,7 +2914,7 @@ fclose($temp); // this removes the file
<refentry id="function.touch">
<refnamediv>
<refname>touch</refname>
<refpurpose>Sets modification time of file</refpurpose>
<refpurpose>Sets access and modification time of file</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
@ -2930,9 +2930,10 @@ fclose($temp); // this removes the file
</funcprototype>
</funcsynopsis>
<para>
Attempts to set the modification time of the file named by
Attempts to set the access and modification time of the file named by
filename to the value given by time. If the option time is not
given, uses the present time.
given, uses the present time. This is equivalent to what utime
(sometimes referred to as utimes) does.
</para>
<para>
If the file does not exist, it is created.