philip Thu Jun 12 21:40:04 2003 EDT Modified files: /phpdoc/en/reference/filesystem/functions chgrp.xml chmod.xml chown.xml link.xml mkdir.xml rewind.xml rmdir.xml symlink.xml touch.xml unlink.xml Log: Returns bool not int, closes bug #24162
Index: phpdoc/en/reference/filesystem/functions/chgrp.xml diff -u phpdoc/en/reference/filesystem/functions/chgrp.xml:1.3 phpdoc/en/reference/filesystem/functions/chgrp.xml:1.4 --- phpdoc/en/reference/filesystem/functions/chgrp.xml:1.3 Tue Aug 13 23:28:02 2002 +++ phpdoc/en/reference/filesystem/functions/chgrp.xml Thu Jun 12 21:40:03 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 --> <refentry id="function.chgrp"> <refnamediv> @@ -9,7 +9,7 @@ <refsect1> <title>Description</title> <methodsynopsis> - <type>int</type><methodname>chgrp</methodname> + <type>bool</type><methodname>chgrp</methodname> <methodparam><type>string</type><parameter>filename</parameter></methodparam> <methodparam><type>mixed</type><parameter>group</parameter></methodparam> </methodsynopsis> Index: phpdoc/en/reference/filesystem/functions/chmod.xml diff -u phpdoc/en/reference/filesystem/functions/chmod.xml:1.6 phpdoc/en/reference/filesystem/functions/chmod.xml:1.7 --- phpdoc/en/reference/filesystem/functions/chmod.xml:1.6 Sat Feb 22 13:55:36 2003 +++ phpdoc/en/reference/filesystem/functions/chmod.xml Thu Jun 12 21:40:03 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 --> <refentry id="function.chmod"> <refnamediv> @@ -9,7 +9,7 @@ <refsect1> <title>Description</title> <methodsynopsis> - <type>int</type><methodname>chmod</methodname> + <type>bool</type><methodname>chmod</methodname> <methodparam><type>string</type><parameter>filename</parameter></methodparam> <methodparam><type>int</type><parameter>mode</parameter></methodparam> </methodsynopsis> Index: phpdoc/en/reference/filesystem/functions/chown.xml diff -u phpdoc/en/reference/filesystem/functions/chown.xml:1.5 phpdoc/en/reference/filesystem/functions/chown.xml:1.6 --- phpdoc/en/reference/filesystem/functions/chown.xml:1.5 Sat Feb 22 13:55:36 2003 +++ phpdoc/en/reference/filesystem/functions/chown.xml Thu Jun 12 21:40:03 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 --> <refentry id="function.chown"> <refnamediv> @@ -9,7 +9,7 @@ <refsect1> <title>Description</title> <methodsynopsis> - <type>int</type><methodname>chown</methodname> + <type>bool</type><methodname>chown</methodname> <methodparam><type>string</type><parameter>filename</parameter></methodparam> <methodparam><type>mixed</type><parameter>user</parameter></methodparam> </methodsynopsis> Index: phpdoc/en/reference/filesystem/functions/link.xml diff -u phpdoc/en/reference/filesystem/functions/link.xml:1.4 phpdoc/en/reference/filesystem/functions/link.xml:1.5 --- phpdoc/en/reference/filesystem/functions/link.xml:1.4 Sat Feb 22 13:55:36 2003 +++ phpdoc/en/reference/filesystem/functions/link.xml Thu Jun 12 21:40:03 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 --> <refentry id="function.link"> <refnamediv> @@ -9,7 +9,7 @@ <refsect1> <title>Description</title> <methodsynopsis> - <type>int</type><methodname>link</methodname> + <type>bool</type><methodname>link</methodname> <methodparam><type>string</type><parameter>target</parameter></methodparam> <methodparam><type>string</type><parameter>link</parameter></methodparam> </methodsynopsis> Index: phpdoc/en/reference/filesystem/functions/mkdir.xml diff -u phpdoc/en/reference/filesystem/functions/mkdir.xml:1.8 phpdoc/en/reference/filesystem/functions/mkdir.xml:1.9 --- phpdoc/en/reference/filesystem/functions/mkdir.xml:1.8 Fri May 30 16:43:26 2003 +++ phpdoc/en/reference/filesystem/functions/mkdir.xml Thu Jun 12 21:40:03 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> +<!-- $Revision: 1.9 $ --> <!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.39 --> <refentry id="function.mkdir"> <refnamediv> @@ -9,7 +9,7 @@ <refsect1> <title>Description</title> <methodsynopsis> - <type>int</type><methodname>mkdir</methodname> + <type>bool</type><methodname>mkdir</methodname> <methodparam><type>string</type><parameter>pathname</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>mode</parameter></methodparam> </methodsynopsis> Index: phpdoc/en/reference/filesystem/functions/rewind.xml diff -u phpdoc/en/reference/filesystem/functions/rewind.xml:1.6 phpdoc/en/reference/filesystem/functions/rewind.xml:1.7 --- phpdoc/en/reference/filesystem/functions/rewind.xml:1.6 Wed Jan 15 15:22:11 2003 +++ phpdoc/en/reference/filesystem/functions/rewind.xml Thu Jun 12 21:40:03 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 --> <refentry id="function.rewind"> <refnamediv> @@ -9,15 +9,15 @@ <refsect1> <title>Description</title> <methodsynopsis> - <type>int</type><methodname>rewind</methodname> + <type>bool</type><methodname>rewind</methodname> <methodparam><type>resource</type><parameter>handle</parameter></methodparam> </methodsynopsis> <para> Sets the file position indicator for <parameter>handle</parameter> to the beginning of the file stream. </para> - <para> - If an error occurs, returns 0, otherwise it returns 1. + <para> + &return.success; </para> <para> The file pointer must be valid, and must point to a file Index: phpdoc/en/reference/filesystem/functions/rmdir.xml diff -u phpdoc/en/reference/filesystem/functions/rmdir.xml:1.3 phpdoc/en/reference/filesystem/functions/rmdir.xml:1.4 --- phpdoc/en/reference/filesystem/functions/rmdir.xml:1.3 Sun Jan 26 21:50:41 2003 +++ phpdoc/en/reference/filesystem/functions/rmdir.xml Thu Jun 12 21:40:03 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 --> <refentry id="function.rmdir"> <refnamediv> @@ -9,7 +9,7 @@ <refsect1> <title>Description</title> <methodsynopsis> - <type>int</type><methodname>rmdir</methodname> + <type>bool</type><methodname>rmdir</methodname> <methodparam><type>string</type><parameter>dirname</parameter></methodparam> </methodsynopsis> <para> Index: phpdoc/en/reference/filesystem/functions/symlink.xml diff -u phpdoc/en/reference/filesystem/functions/symlink.xml:1.3 phpdoc/en/reference/filesystem/functions/symlink.xml:1.4 --- phpdoc/en/reference/filesystem/functions/symlink.xml:1.3 Tue Aug 13 23:28:02 2002 +++ phpdoc/en/reference/filesystem/functions/symlink.xml Thu Jun 12 21:40:03 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 --> <refentry id="function.symlink"> <refnamediv> @@ -9,7 +9,7 @@ <refsect1> <title>Description</title> <methodsynopsis> - <type>int</type><methodname>symlink</methodname> + <type>bool</type><methodname>symlink</methodname> <methodparam><type>string</type><parameter>target</parameter></methodparam> <methodparam><type>string</type><parameter>link</parameter></methodparam> </methodsynopsis> @@ -17,6 +17,9 @@ <function>symlink</function> creates a symbolic link from the existing <parameter>target</parameter> with the specified name <parameter>link</parameter>. + </para> + <para> + &return.success; </para> <para> See also <function>link</function> to create hard links, Index: phpdoc/en/reference/filesystem/functions/touch.xml diff -u phpdoc/en/reference/filesystem/functions/touch.xml:1.5 phpdoc/en/reference/filesystem/functions/touch.xml:1.6 --- phpdoc/en/reference/filesystem/functions/touch.xml:1.5 Fri May 30 16:43:26 2003 +++ phpdoc/en/reference/filesystem/functions/touch.xml Thu Jun 12 21:40:03 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 --> <refentry id="function.touch"> <refnamediv> @@ -9,7 +9,7 @@ <refsect1> <title>Description</title> <methodsynopsis> - <type>int</type><methodname>touch</methodname> + <type>bool</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> Index: phpdoc/en/reference/filesystem/functions/unlink.xml diff -u phpdoc/en/reference/filesystem/functions/unlink.xml:1.3 phpdoc/en/reference/filesystem/functions/unlink.xml:1.4 --- phpdoc/en/reference/filesystem/functions/unlink.xml:1.3 Wed May 14 18:04:50 2003 +++ phpdoc/en/reference/filesystem/functions/unlink.xml Thu Jun 12 21:40:03 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 --> <refentry id="function.unlink"> <refnamediv> @@ -9,7 +9,7 @@ <refsect1> <title>Description</title> <methodsynopsis> - <type>int</type><methodname>unlink</methodname> + <type>bool</type><methodname>unlink</methodname> <methodparam><type>string</type><parameter>filename</parameter></methodparam> </methodsynopsis> <para>
-- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php