svn: /phpdoc/en/trunk/reference/bzip2/functions/ bzopen.xml
| From: | Joris van de Sande | Date: | Thu, 27 Aug 2009 17:29:35 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/bzip2/functions/ bzopen.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-4779@lists.php.net to get a copy of this message | ||
joris Thu, 27 Aug 2009 17:29:35 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=287816
Log:
make clear that only 'r' and 'w' are supported as valid values for the mode
parameter of bzopen.
Changed paths:
U phpdoc/en/trunk/reference/bzip2/functions/bzopen.xml
Modified: phpdoc/en/trunk/reference/bzip2/functions/bzopen.xml
===================================================================
--- phpdoc/en/trunk/reference/bzip2/functions/bzopen.xml 2009-08-27 16:32:22 UTC (rev 287815)
+++ phpdoc/en/trunk/reference/bzip2/functions/bzopen.xml 2009-08-27 17:29:35 UTC (rev 287816)
@@ -13,7 +13,7 @@
<methodparam><type>string</type><parameter>mode</parameter></methodparam>
</methodsynopsis>
<para>
- <function>bzopen</function> opens a bzip2 (.bz2) file for reading or
+ <function>bzopen</function> opens a bzip2 (.bz2) file for reading or
writing.
</para>
</refsect1>
@@ -33,8 +33,9 @@
<term><parameter>mode</parameter></term>
<listitem>
<para>
- Similar to the <function>fopen</function> function ('r' for read,
- 'w' for write, etc.).
+ Similar to the <function>fopen</function> function, only 'r' (read)
+ and 'w' (write) are supported. Everything else will cause bzopen
+ to return &false;.
</para>
</listitem>
</varlistentry>
@@ -44,7 +45,7 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- If the open fails, <function>bzopen</function> returns &false;, otherwise
+ If the open fails, <function>bzopen</function> returns &false;, otherwise
it returns a pointer to the newly opened file.
</para>
</refsect1>