cvs: phpdoc-es /reference/bzip2/functions bzclose.xml bzcompress.xml bzdecompress.xml bzerrno.xml bzerror.xml bzerrstr.xml bzflush.xml bzopen.xml
bzread.xml bzwrite.xml

From: Date: Wed, 02 Feb 2005 20:33:23 +0000
Subject: cvs: phpdoc-es /reference/bzip2/functions bzclose.xml bzcompress.xml bzdecompress.xml bzerrno.xml bzerror.xml bzerrstr.xml bzflush.xml bzopen.xml
bzread.xml bzwrite.xml
Groups: php.doc.es 
Request: Send a blank email to doc-es+get-749@lists.php.net to get a copy of this message
baoengb Wed Feb 2 15:33:23 2005 EDT Modified files: /phpdoc-es/reference/bzip2/functions bzclose.xml bzcompress.xml bzdecompress.xml bzerrno.xml bzerror.xml bzerrstr.xml bzflush.xml bzopen.xml bzread.xml bzwrite.xml Log: sync con version inglesa

http://cvs.php.net/diff.php/phpdoc-es/reference/bzip2/functions/bzclose.xml?r1=1.1&r2=1.2&ty=u Index: phpdoc-es/reference/bzip2/functions/bzclose.xml diff -u phpdoc-es/reference/bzip2/functions/bzclose.xml:1.1 phpdoc-es/reference/bzip2/functions/bzclose.xml:1.2 --- phpdoc-es/reference/bzip2/functions/bzclose.xml:1.1 Fri Jun 18 12:50:07 2004 +++ phpdoc-es/reference/bzip2/functions/bzclose.xml Wed Feb 2 15:33:23 2005 @@ -1,14 +1,13 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.3 Maintainer: baoengb Status: ready --> -<!-- splitted from ./en/functions/bzip2.xml, last change in rev 1.1 --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.4 Maintainer: baoengb Status: ready --> <refentry id="function.bzclose"> <refnamediv> <refname>bzclose</refname> <refpurpose>Cierra un archivo bzip2</refpurpose> </refnamediv> - <refsect1> - <title>Descripci&oacute;n</title> + <refsect1 role="description"> + &reftitle.description; <methodsynopsis> <type>int</type><methodname>bzclose</methodname> <methodparam><type>resource</type><parameter>bz</parameter></methodparam> @@ -16,18 +15,35 @@ <para> Cierra el archivo bzip2 referenciado por el apuntador <parameter>bz</parameter>. </para> + </refsect1> + <refsect1 role="parameters"> + &reftitle.parameters; <para> - &return.success; + <variablelist> + <varlistentry> + <term><parameter>bz</parameter></term> + <listitem> + <para> + El apuntador del archivo. Este debe ser v&aacute;lido y debe apuntar + a un archivo abierto exitosamente por <function>bzopen</function>. + </para> + </listitem> + </varlistentry> + </variablelist> </para> + </refsect1> + <refsect1 role="returnvalues"> + &reftitle.returnvalues; <para> - El apuntador del archivo debe ser valido, y debe apuntar a un archivo - exitosamente abierto por <function>bzopen</function>. + &return.success; </para> </refsect1> - <refsect1> + <refsect1 role="seealso"> &reftitle.seealso; <para> - <function>bzopen</function>. + <simplelist> + <member><function>bzopen</function></member> + </simplelist> </para> </refsect1> </refentry> http://cvs.php.net/diff.php/phpdoc-es/reference/bzip2/functions/bzcompress.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc-es/reference/bzip2/functions/bzcompress.xml diff -u phpdoc-es/reference/bzip2/functions/bzcompress.xml:1.3 phpdoc-es/reference/bzip2/functions/bzcompress.xml:1.4 --- phpdoc-es/reference/bzip2/functions/bzcompress.xml:1.3 Tue Nov 9 13:59:09 2004 +++ phpdoc-es/reference/bzip2/functions/bzcompress.xml Wed Feb 2 15:33:23 2005 @@ -1,51 +1,76 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> -<!-- EN-Revision: 1.7 Maintainer: baoengb Status: ready --> -<!-- splitted from ./en/functions/bzip2.xml, last change in rev 1.1 --> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.8 Maintainer: baoengb Status: ready --> <refentry id="function.bzcompress"> <refnamediv> <refname>bzcompress</refname> <refpurpose>Comprime una cadena a una forma de datos codificados bzip2</refpurpose> </refnamediv> - <refsect1> - <title>Descripci&oacute;n</title> + <refsect1 role="description"> + &reftitle.description; <methodsynopsis> <type>cadena</type><methodname>bzcompress</methodname> - <methodparam><type>cadena</type><parameter>source</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>blocksize</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>workfactor</parameter></methodparam> + <methodparam><type>cadena</type><parameter>fuente</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>tama&ntilde;_de_bloque</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>factor</parameter></methodparam> </methodsynopsis> <para> - <function>bzcompress</function> comprime la cadena representadada por el - par&aacute;metro <parameter>source</parameter> y la regresa en forma de + <function>bzcompress</function> comprime la cadena dada y la regresa como datos codificados bzip2. </para> + </refsect1> + <refsect1 role="parameters"> + &reftitle.parameters; <para> - El par&aacute;metro opciona <parameter>blocksize</parameter> espec&iacute;fica - el tamaño del bloque a ser usado durante la compresi&oacute;n y debe ser un - n&uacute;mero entre 1 y 9, con 9 se da la mejor compresi&oacute;n, pero usa - m&aacute;s recursos para hacerlo. el par&aacute;metro tiene valor 4 por defecto. - </para> - <para> - El par&aacute;metro opcional <parameter>workfactor</parameter> controla como - se debe actuar en la fase de compresi&oacute;n cuando se encuentre con el - peor caso, altamente repetitiva entrada de datos. El valor puede estar entre - 0 y 250, 0 es un caso especial y 30 es el valor por defecto. Sin importar - el valor del <parameter>workfactor</parameter>, la salida generada ser&aacute; - la misma. + <variablelist> + <varlistentry> + <term><parameter>fuente</parameter></term> + <listitem> + <para> + La cadena a ser comprimida. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>tama&ntilde;_de_bloque</parameter></term> + <listitem> + <para> + Especifica el tama&ntilde;o de bloque a ser usado durante la compresi&oacute;n + y debe ser un n&uacute;mero entre 1 y 9, dando 9 la mejor + compresi&oacute;n, pero usando m&aacute;s recursos para hacerlo. + <parameter>tama&ntilde;_de_bloque</parameter> tiebe como valor por defecto 4. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>factor</parameter></term> + <listitem> + <para> + Controla como la fase de compresi&oacute;n se comporta cuando se + presenta el peor caso, altamente repetitivo de entrada de datos. + El valor puede estar entre 0 y 250, siendo 0 un caso especial y + 30 el valor por defecto. + </para> + <para> + Sin importar el <parameter>factor</parameter>, la salida + generada es la misma. + </para> + </listitem> + </varlistentry> + </variablelist> </para> </refsect1> - <refsect1> - &reftitle.seealso; + <refsect1 role="returnvalues"> + &reftitle.returnvalues; <para> - <function>bzdecompress</function>. + La cadena comprimida. </para> </refsect1> - <refsect1> + <refsect1 role="examples"> &reftitle.examples; - <example> - <title>Comprimiendo datos</title> - <programlisting role="php"> + <example> + <title>Comprimiendo datos</title> + <programlisting role="php"> <![CDATA[ <?php $str = "sample data"; @@ -53,9 +78,17 @@ echo $bzstr; ?> ]]> - </programlisting> + </programlisting> </example> </refsect1> + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>bzdecompress</function></member> + </simplelist> + </para> + </refsect1> </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/diff.php/phpdoc-es/reference/bzip2/functions/bzdecompress.xml?r1=1.2&r2=1.3&ty=u Index: phpdoc-es/reference/bzip2/functions/bzdecompress.xml diff -u phpdoc-es/reference/bzip2/functions/bzdecompress.xml:1.2 phpdoc-es/reference/bzip2/functions/bzdecompress.xml:1.3 --- phpdoc-es/reference/bzip2/functions/bzdecompress.xml:1.2 Tue Nov 9 13:59:09 2004 +++ phpdoc-es/reference/bzip2/functions/bzdecompress.xml Wed Feb 2 15:33:23 2005 @@ -1,40 +1,64 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.8 Maintainer: baoengb Status: ready --> -<!-- splitted from ./en/functions/bzip2.xml, last change in rev 1.1 --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.9 Maintainer: baoengb Status: ready --> <refentry id="function.bzdecompress"> <refnamediv> <refname>bzdecompress</refname> - <refpurpose>Descomprime datos encodificados bzip2</refpurpose> + <refpurpose>Descomprime datos codificados con bzip2</refpurpose> </refnamediv> - <refsect1> - <title>Descripci&oacute;n</title> + <refsect1 role="description"> + &reftitle.description; <methodsynopsis> - <type>cadena</type><methodname>bzdecompress</methodname> - <methodparam><type>cadena</type><parameter>source</parameter></methodparam> + <type>string</type><methodname>bzdecompress</methodname> + <methodparam><type>cadena</type><parameter>fuente</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>small</parameter></methodparam> </methodsynopsis> <para> - <function>bzdecompress</function> toma la cadena con datos codificados - bzip2, representada por el par&aacute;metro <parameter>source</parameter>, - y la regresa descodificada. Si el par&aacute;metro opcional - <parameter>small</parameter> es &true;, un algoritmo de descompresi&oacute;n - alternativo ser&aacute; usado, el cual usa menos memoria (el m&aacute;ximo - de memoria usada es al readedor de 2300K) pero trabaja dificilmente a la - mitad de la velocidad. Vea la <ulink url="&url.bzip2;">documentacion de bzip</ulink> - para m&aacute;s informaci&oacute;n acerca de esta caracter&iacute;sitoca. + <function>bzdecompress</function> descomprime los datos dados que contengan + datos codificados bzip2. </para> </refsect1> - <refsect1> - &reftitle.seealso; + <refsect1 role="parameters"> + &reftitle.parameters; <para> - <function>bzcompress</function>. + <variablelist> + <varlistentry> + <term><parameter>fuente</parameter></term> + <listitem> + <para> + La cadena a descomprimir. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>small</parameter></term> + <listitem> + <para> + Si &true;, ser&aacute; usado un algoritmo de descompresi&oacute;n + alternativo, el cu&aacute;l usa menos memoria (la memoria m&aacute;xima + requerida baja a un valor alrededor de 2300K) pero trabaja a la + mitad de velocidad. + </para> + <para> + Vea la <ulink url="&url.bzip2;">documentaci&oacute;n de bzip2</ulink> + para m&aacute;s informaci&oacute;n acerca de esa caracter&iacute;stica. + </para> + </listitem> + </varlistentry> + </variablelist> </para> </refsect1> - <refsect1> + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + La cadena descomprimida. + </para> + </refsect1> + <refsect1 role="examples"> &reftitle.examples; + <para> <example> - <title>Descomprimir una cadena</title> + <title>Descomprimiendo una cadena</title> <programlisting role="php"> <![CDATA[ <?php @@ -53,6 +77,15 @@ ]]> </programlisting> </example> + </para> + </refsect1> + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>bzcompress</function></member> + </simplelist> + </para> </refsect1> </refentry> http://cvs.php.net/diff.php/phpdoc-es/reference/bzip2/functions/bzerrno.xml?r1=1.1&r2=1.2&ty=u Index: phpdoc-es/reference/bzip2/functions/bzerrno.xml diff -u phpdoc-es/reference/bzip2/functions/bzerrno.xml:1.1 phpdoc-es/reference/bzip2/functions/bzerrno.xml:1.2 --- phpdoc-es/reference/bzip2/functions/bzerrno.xml:1.1 Fri Jun 18 12:50:07 2004 +++ phpdoc-es/reference/bzip2/functions/bzerrno.xml Wed Feb 2 15:33:23 2005 @@ -1,28 +1,51 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.3 Maintainer: baoengb Status: ready --> -<!-- splitted from ./en/functions/bzip2.xml, last change in rev 1.1 --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.4 Maintainer: baoengb Status: ready --> <refentry id="function.bzerrno"> <refnamediv> <refname>bzerrno</refname> - <refpurpose>Regresa el n&uacute;mero de error bzip2</refpurpose> + <refpurpose>Regresa un n&uacute;mero de error bzip2</refpurpose> </refnamediv> - <refsect1> - <title>Descripci&oacute;n</title> + <refsect1 role="description"> + &reftitle.description; <methodsynopsis> <type>int</type><methodname>bzerrno</methodname> <methodparam><type>resource</type><parameter>bz</parameter></methodparam> </methodsynopsis> <para> - Regresa el n&uacute;mero de error regresado por el archivo apuntado por - <parameter>bz</parameter>. + Regresa el n&uacute;mero de error de cualquier error bzip2 regresado + por el apuntador del archivo dado. </para> </refsect1> - <refsect1> + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>bz</parameter></term> + <listitem> + <para> + El apuntador del archivo. Este debe ser v&aacute;lido y debe apuntar + a un archivo abierto exitosamente por <function>bzopen</function>. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Regresa el n&uacute;mero de error como un entero. + </para> + </refsect1> + <refsect1 role="seealso"> &reftitle.seealso; <para> - <function>bzerror</function>, - <function>bzerrstr</function>. + <simplelist> + <member><function>bzerror</function></member> + <member><function>bzerrstr</function></member> + </simplelist> </para> </refsect1> </refentry> http://cvs.php.net/diff.php/phpdoc-es/reference/bzip2/functions/bzerror.xml?r1=1.1&r2=1.2&ty=u Index: phpdoc-es/reference/bzip2/functions/bzerror.xml diff -u phpdoc-es/reference/bzip2/functions/bzerror.xml:1.1 phpdoc-es/reference/bzip2/functions/bzerror.xml:1.2 --- phpdoc-es/reference/bzip2/functions/bzerror.xml:1.1 Fri Jun 18 12:50:07 2004 +++ phpdoc-es/reference/bzip2/functions/bzerror.xml Wed Feb 2 15:33:23 2005 @@ -1,26 +1,50 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.4 Maintainer: baoengb Status: ready --> -<!-- splitted from ./en/functions/bzip2.xml, last change in rev 1.1 --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.5 Maintainer: baoengb Status: ready --> <refentry id="function.bzerror"> <refnamediv> <refname>bzerror</refname> - <refpurpose>Regresa el n&uacute;mero de error y la cadena de error bzip2</refpurpose> + <refpurpose>Regresa el n&uacute;mero y la cadena de error bzip2 en una matriz</refpurpose> </refnamediv> - <refsect1> - <title>Descripci&oacute;n</title> + <refsect1 role="description"> + &reftitle.description; <methodsynopsis> - <type>matriz</type><methodname>bzerror</methodname> + <type>array</type><methodname>bzerror</methodname> <methodparam><type>resource</type><parameter>bz</parameter></methodparam> </methodsynopsis> <para> - Regresa el n&uacute;mero de error y la cadena de error, en una matriz - asociativa, obtenido por el archivo apuntado. - <parameter>bz</parameter>. + Regresa el n&uacute;mero y cadena de error de cualquier error bzip2 + regresado por el apuntador de archivo dado. </para> + </refsect1> + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>bz</parameter></term> + <listitem> + <para> + El apuntador de archivo. Este debe ser v&aacute;lido y debe apuntar + a un archivo exitosamente abierto con <function>bzopen</function>. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Regresa una matriz asociativa, con el c&oacute;digo de error en + <literal>errno</literal>, y el mensaje de error en <literal>errstr</literal>. + </para> + </refsect1> + <refsect1 role="examples"> + &reftitle.examples; <para> <example> - <title><function>bzerror</function> ejemplo</title> + <title>Ejemplo de <function>bzerror</function></title> <programlisting role="php"> <![CDATA[ <?php @@ -33,9 +57,14 @@ </programlisting> </example> </para> + </refsect1> + <refsect1 role="seealso"> + &reftitle.seealso; <para> - See also <function>bzerrno</function> and - <function>bzerrstr</function>. + <simplelist> + <member><function>bzerrno</function></member> + <member><function>bzerrstr</function></member> + </simplelist> </para> </refsect1> </refentry> http://cvs.php.net/diff.php/phpdoc-es/reference/bzip2/functions/bzerrstr.xml?r1=1.1&r2=1.2&ty=u Index: phpdoc-es/reference/bzip2/functions/bzerrstr.xml diff -u phpdoc-es/reference/bzip2/functions/bzerrstr.xml:1.1 phpdoc-es/reference/bzip2/functions/bzerrstr.xml:1.2 --- phpdoc-es/reference/bzip2/functions/bzerrstr.xml:1.1 Fri Jun 18 12:50:07 2004 +++ phpdoc-es/reference/bzip2/functions/bzerrstr.xml Wed Feb 2 15:33:23 2005 @@ -1,25 +1,51 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.4 Maintainer: baoengb Status: ready --> -<!-- splitted from ./en/functions/bzip2.xml, last change in rev 1.1 --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.5 Maintainer: baoengb Status: ready --> <refentry id="function.bzerrstr"> <refnamediv> <refname>bzerrstr</refname> - <refpurpose>Regresa la cadena de error bzip2</refpurpose> + <refpurpose>Regresa una cadena de error de bzip2</refpurpose> </refnamediv> - <refsect1> - <title>Descripci&oacute;n</title> + <refsect1 role="description"> + &reftitle.description; <methodsynopsis> - <type>cadena</type><methodname>bzerrstr</methodname> + <type>string</type><methodname>bzerrstr</methodname> <methodparam><type>resource</type><parameter>bz</parameter></methodparam> </methodsynopsis> <para> - Regresa la cadena de error de cualquier error regresado por el archivo - apuntado por <parameter>bz</parameter>. + Obtiene la cadena de error de cualquier error bzip2 regresado por el + apuntador de archivo dado. </para> + </refsect1> + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>bz</parameter></term> + <listitem> + <para> + El apuntador del archivo. Este debe ser v&aacute;lido y debe apuntar + a un archivo abierto exitosamente por <function>bzopen</function>. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Regresa una cadena que contiene el mensaje de error. + </para> + </refsect1> + <refsect1 role="seealso"> + &reftitle.seealso; <para> - Vea tambi&eacute;n <function>bzerrno</function>, - <function>bzerror</function>. + <simplelist> + <member><function>bzerrno</function></member> + <member><function>bzerror</function></member> + </simplelist> </para> </refsect1> </refentry> http://cvs.php.net/diff.php/phpdoc-es/reference/bzip2/functions/bzflush.xml?r1=1.1&r2=1.2&ty=u Index: phpdoc-es/reference/bzip2/functions/bzflush.xml diff -u phpdoc-es/reference/bzip2/functions/bzflush.xml:1.1 phpdoc-es/reference/bzip2/functions/bzflush.xml:1.2 --- phpdoc-es/reference/bzip2/functions/bzflush.xml:1.1 Fri Jun 18 12:50:07 2004 +++ phpdoc-es/reference/bzip2/functions/bzflush.xml Wed Feb 2 15:33:23 2005 @@ -1,34 +1,52 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.3 Maintainer: baoengb Status: ready --> -<!-- splitted from ./en/functions/bzip2.xml, last change in rev 1.1 --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.4 Maintainer: baoengb Status: ready --> <refentry id="function.bzflush"> <refnamediv> <refname>bzflush</refname> - <refpurpose>Forza la escritura de todos los datos en el almacenamiento intermedio</refpurpose> + <refpurpose>Fuerza la escritura de todo los datos en el buffer</refpurpose> </refnamediv> - <refsect1> - <title>Descripci&oacute;n</title> + <refsect1 role="description"> + &reftitle.description; <methodsynopsis> <type>int</type><methodname>bzflush</methodname> <methodparam><type>resource</type><parameter>bz</parameter></methodparam> </methodsynopsis> <para> - Fuerza la escritura de todos los datos en almacenamiento intermedio para - el apuntador <parameter>bz</parameter>. + Fuerza la escritura de todos los datos bzip2 en el buffer para el + archivo relacionado con el apuntador. + <parameter>bz</parameter>. </para> </refsect1> - <refsect1> + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>bz</parameter></term> + <listitem> + <para> + El apuntador del archivo. Este debe ser v&aacute;lido y debe apuntar + a un archivo abierto exitosamente por <function>bzopen</function>. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> - <refsect1> + <refsect1 role="seealso"> &reftitle.seealso; <para> - <function>bzread</function>, - <function>bzwrite</function>. + <simplelist> + <member><function>bzread</function></member> + <member><function>bzwrite</function></member> + </simplelist> </para> </refsect1> </refentry> http://cvs.php.net/diff.php/phpdoc-es/reference/bzip2/functions/bzopen.xml?r1=1.1&r2=1.2&ty=u Index: phpdoc-es/reference/bzip2/functions/bzopen.xml diff -u phpdoc-es/reference/bzip2/functions/bzopen.xml:1.1 phpdoc-es/reference/bzip2/functions/bzopen.xml:1.2 --- phpdoc-es/reference/bzip2/functions/bzopen.xml:1.1 Fri Jun 18 12:50:07 2004 +++ phpdoc-es/reference/bzip2/functions/bzopen.xml Wed Feb 2 15:33:23 2005 @@ -1,32 +1,59 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.7 Maintainer: baoengb Status: ready --> -<!-- splitted from ./en/functions/bzip2.xml, last change in rev 1.1 --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.8 Maintainer: baoengb Status: ready --> <refentry id="function.bzopen"> <refnamediv> <refname>bzopen</refname> <refpurpose>Abre un archivo comprimido bzip2</refpurpose> </refnamediv> - <refsect1> - <title>Descripci&oacute;n</title> + <refsect1 role="description"> + &reftitle.description; <methodsynopsis> <type>resource</type><methodname>bzopen</methodname> - <methodparam><type>cadena</type><parameter>filename</parameter></methodparam> - <methodparam><type>cadena</type><parameter>mode</parameter></methodparam> + <methodparam><type>string</type><parameter>archivo</parameter></methodparam> + <methodparam><type>string</type><parameter>modo</parameter></methodparam> </methodsynopsis> <para> - <function>bzopen</function> abre un archivo bzip2 (.bz2) para lectura o - escritura. <parameter>filename</parameter> es el nombre del archivo a abrir. - <parameter>mode</parameter> es similar a la funci&oacute;n - <function>fopen</function> (`r' para lectura, `w' para escritura, etc.). + <function>bzopen</function> abre un archivo bzip2 (.bz2) para lectura o + escritura. </para> + </refsect1> + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>archivo</parameter></term> + <listitem> + <para> + El nombre del archivo a utilizar. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>modo</parameter></term> + <listitem> + <para> + Similar a la funci&oacute;n <function>fopen</function> ('r' para lectura, + 'w' para escritura, etc.). + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + <refsect1 role="returnvalues"> + &reftitle.returnvalues; <para> - Si falla la apertura del archivo, <function>bzopen</function> regresa &false;, - en otro casi regresa un apuntador hacia el archivo recientemente abierto. + Si la apertura del archivo falla, <function>bzopen</function> regresa + &false;, de otro modo regresa un apuntador al archivo abierto. </para> + </refsect1> + <refsect1 role="examples"> + &reftitle.examples; <para> <example> - <title>Ejemplo</title> + <title>Ejemplo de <function>bzopen</function></title> <programlisting role="php"> <![CDATA[ <?php @@ -41,8 +68,13 @@ </programlisting> </example> </para> + </refsect1> + <refsect1 role="seealso"> + &reftitle.seealso; <para> - vea tambi&eacute;n <function>bzclose</function>. + <simplelist> + <member><function>bzclose</function></member> + </simplelist> </para> </refsect1> </refentry> http://cvs.php.net/diff.php/phpdoc-es/reference/bzip2/functions/bzread.xml?r1=1.2&r2=1.3&ty=u Index: phpdoc-es/reference/bzip2/functions/bzread.xml diff -u phpdoc-es/reference/bzip2/functions/bzread.xml:1.2 phpdoc-es/reference/bzip2/functions/bzread.xml:1.3 --- phpdoc-es/reference/bzip2/functions/bzread.xml:1.2 Thu Aug 19 17:13:11 2004 +++ phpdoc-es/reference/bzip2/functions/bzread.xml Wed Feb 2 15:33:23 2005 @@ -1,31 +1,63 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.8 Maintainer: baoengb Status: ready --> -<!-- splitted from ./en/functions/bzip2.xml, last change in rev 1.1 --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.9 Maintainer: baoengb Status: ready --> <refentry id="function.bzread"> <refnamediv> <refname>bzread</refname> - <refpurpose>Lectura segura de archivos binarios bzip2</refpurpose> + <refpurpose>Lectura segura de archivo bzip2 binario</refpurpose> </refnamediv> - <refsect1> - <title>Descripci&oacute;n</title> + <refsect1 role="description"> + &reftitle.description; <methodsynopsis> - <type>cadena</type><methodname>bzread</methodname> + <type>string</type><methodname>bzread</methodname> <methodparam><type>resource</type><parameter>bz</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>length</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>longitud</parameter></methodparam> </methodsynopsis> <para> - <function>bzread</function> lee hasta <parameter>length</parameter> en bytes - del archivo bzip2 dado por el apuntador <parameter>bz</parameter>. La lectura - se detiene cuando los bytes de datos sin comprimir alcanzan el tama&ntilde;o - de <parameter>length</parameter> o se encontr&oacute; EOF, lo que ocurra - primero. Si no se espec&iacute;fica el par&aacute;metro opcional - <parameter>length</parameter>, <function>bzread</function> leer&aacute; - 1024 bytes de datos ya descomprimidos cada vez. + <function>bzread</function> lee del apuntador de archivo bzip2 dado. </para> <para> + La lectura se detiene cuando <parameter>longitud</parameter> (de datos sin + comprimir) es alcanzada o se encuentra el fin de archivo (EOF), lo que + ocurra primero. + </para> + </refsect1> + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>bz</parameter></term> + <listitem> + <para> + El apuntador del archivo. Este debe ser v&aacute;lido y debe apuntar + a un archivo abierto exitosamente por <function>bzopen</function>. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>longitud</parameter></term> + <listitem> + <para> + Si no se espec&iacute;fica, <function>bzread</function> leer&aacute; 1024 + bytes (sin comprimir) a la vez. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Regresa los datos ya sin compresi&oacute;n, o &false; en caso de error. + </para> + </refsect1> + <refsect1 role="examples"> + &reftitle.examples; + <para> <example> - <title><function>bzread</function> ejemplo</title> + <title>Ejemplo de <function>bzread</function></title> <programlisting role="php"> <![CDATA[ <?php @@ -47,10 +79,15 @@ </programlisting> </example> </para> + </refsect1> + <refsect1 role="seealso"> + &reftitle.seealso; <para> - Vea tambi&eacute;n <function>bzwrite</function>, - <function>feof</function>, - <function>bzopen</function>. + <simplelist> + <member><function>bzwrite</function></member> + <member><function>feof</function></member> + <member><function>bzopen</function></member> + </simplelist> </para> </refsect1> </refentry> http://cvs.php.net/diff.php/phpdoc-es/reference/bzip2/functions/bzwrite.xml?r1=1.1&r2=1.2&ty=u Index: phpdoc-es/reference/bzip2/functions/bzwrite.xml diff -u phpdoc-es/reference/bzip2/functions/bzwrite.xml:1.1 phpdoc-es/reference/bzip2/functions/bzwrite.xml:1.2 --- phpdoc-es/reference/bzip2/functions/bzwrite.xml:1.1 Fri Jun 18 12:50:07 2004 +++ phpdoc-es/reference/bzip2/functions/bzwrite.xml Wed Feb 2 15:33:23 2005 @@ -1,31 +1,69 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.4 Maintainer: baoengb Status: ready --> -<!-- splitted from ./en/functions/bzip2.xml, last change in rev 1.1 --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.5 Maintainer: baoengb Status: ready --> <refentry id="function.bzwrite"> <refnamediv> <refname>bzwrite</refname> - <refpurpose>Escribe en forma segura a un archivo binario bzip2</refpurpose> + <refpurpose>Escritura segura de archivo bzip2 binario</refpurpose> </refnamediv> - <refsect1> - <title>Descripci&oacute;n</title> + <refsect1 role="description"> + &reftitle.description; <methodsynopsis> <type>int</type><methodname>bzwrite</methodname> <methodparam><type>resource</type><parameter>bz</parameter></methodparam> - <methodparam><type>cadena</type><parameter>data</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>length</parameter></methodparam> + <methodparam><type>string</type><parameter>datos</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>longitud</parameter></methodparam> </methodsynopsis> <para> - <function>bzwrite</function> escribe el contenido de la cadena - <parameter>data</parameter> al archivo bzip2 apuntado por el par&aacute;metro - <parameter>bz</parameter>. Si se da el par&aacute;metro opcional - <parameter>length</parameter>, la escritura se detendr&aacute; despu&eacute;s de - la longitud (en forma no comprimida) se haya alcanzado o que se haya encontrado - el fin de la cadena, lo que ocurra primero. + <function>bzwrite</function> escribe una cadena en el archivo bzip2 dado. </para> + </refsect1> + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>bz</parameter></term> + <listitem> + <para> + El apuntador de archivo. Este debe ser v&aacute;lido y debe apuntar + a un archivo abierto exitosamente con <function>bzopen</function>. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>datos</parameter></term> + <listitem> + <para> + Los datos escritos. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>longitud</parameter></term> + <listitem> + <para> + Si se da, la escritura se detendr&aacute; despu&eacute;s de + escribir <parameter>longitud</parameter> de bytes (sin comprimir) + o se encuentra el fin de los <parameter>data</parameter> es alcanzado, + lo que ocurra primero. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Regresa el n&uacute;mero de bytes escritos, o &false; en caso de error. + </para> + </refsect1> + <refsect1 role="examples"> + &reftitle.examples; <para> <example> - <title><function>bzwrite</function> ejemplo</title> + <title>Ejemplo de <function>bzwrite</function></title> <programlisting role="php"> <![CDATA[ <?php @@ -38,9 +76,14 @@ </programlisting> </example> </para> + </refsect1> + <refsect1 role="seealso"> + &reftitle.seealso; <para> - Vea tambi&eacute;n <function>bzread</function>, - <function>bzopen</function>. + <simplelist> + <member><function>bzread</function></member> + <member><function>bzopen</function></member> + </simplelist> </para> </refsect1> </refentry>
« previous php.doc.es (#749) next »