sas Fri Jan 4 08:36:22 2002 EDT
Modified files:
/phpdoc/en/functions filesystem.xml
Log:
Refine description of touch
Add a note that should prevent others from reimplementing utime,
because they did not find touch in the manual :-)
Index: phpdoc/en/functions/filesystem.xml
diff -u phpdoc/en/functions/filesystem.xml:1.110
phpdoc/en/functions/filesystem.xml:1.111
--- phpdoc/en/functions/filesystem.xml:1.110 Thu Jan 3 13:52:10 2002
+++ phpdoc/en/functions/filesystem.xml Fri Jan 4 08:36:20 2002
@@ -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 @@
<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 @@
</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.