mfischer Mon May 13 14:39:49 2002 EDT
Modified files:
/phpdoc/en/reference/filesystem/functions touch.xml
Log:
- Document third parameter
Index: phpdoc/en/reference/filesystem/functions/touch.xml
diff -u phpdoc/en/reference/filesystem/functions/touch.xml:1.2
phpdoc/en/reference/filesystem/functions/touch.xml:1.3
--- phpdoc/en/reference/filesystem/functions/touch.xml:1.2 Wed Apr 17 02:38:10
2002
+++ phpdoc/en/reference/filesystem/functions/touch.xml Mon May 13 14:39:48 2002
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 -->
<refentry id="function.touch">
<refnamediv>
@@ -12,12 +12,15 @@
<type>int</type><methodname>touch</methodname>
<methodparam><type>string</type><parameter>filename</parameter></methodparam>
<methodparam
choice="opt"><type>int</type><parameter>time</parameter></methodparam>
+ <methodparam
+choice="opt"><type>int</type><parameter>atime</parameter></methodparam>
</methodsynopsis>
<para>
Attempts to set the access and modification time of the file named by
filename to the value given by time. If the option <parameter>time</parameter>
is not
given, uses the present time. This is equivalent to what utime
- (sometimes referred to as utimes) does.
+ (sometimes referred to as utimes) does. If the third option
+ <parameter>atime</parameter> is present, the access time of the given
+ filename is also modified.
</para>
<para>
If the file does not exist, it is created.