cvs: phpdoc-pl /reference/bzip2/functions bzwrite.xml
| From: | Leszek Krupinski | Date: | Mon, 17 Nov 2003 02:02:04 +0000 |
| Subject: | cvs: phpdoc-pl /reference/bzip2/functions bzwrite.xml | ||
| Groups: | php.doc.pl | ||
| Request: | Send a blank email to doc-pl+get-227@lists.php.net to get a copy of this message | ||
leszek Sun Nov 16 21:02:04 2003 EDT
Added files:
/phpdoc-pl/reference/bzip2/functions bzwrite.xml
Log:
Index: phpdoc-pl/reference/bzip2/functions/bzwrite.xml
+++ phpdoc-pl/reference/bzip2/functions/bzwrite.xml
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- EN-Revision: 1.1 Maintainer: coder Status: ready -->
<!-- splitted from ./en/functions/bzip2.xml, last change in rev 1.1 -->
<refentry id="function.bzwrite">
<refnamediv>
<refname>bzwrite</refname>
<refpurpose>Binarnie bezpieczny zapis pliku bzip2</refpurpose>
</refnamediv>
<refsect1>
<title>Opis</title>
<methodsynopsis>
<type>int</type><methodname>bzwrite</methodname>
<methodparam><type>resource</type><parameter>bz</parameter></methodparam>
<methodparam><type>string</type><parameter>dane</parameter></methodparam>
<methodparam
choice="opt"><type>int</type><parameter>d³ugo¶æ</parameter></methodparam>
</methodsynopsis>
<para>
<function>bzwrite</function> zapisuje ³añcuch znaków
<parameter>dane</parameter>
do pliku bzip2 otwartego funkcj± <function>bzopen</function>, reprezentowanego
przez uchwyt <parameter>bz</parameter>. Je¶li opcjonalny argument
<parameter>d³ugo¶æ</parameter>
zostanie podany, po zapisaniu okre¶lonej ilo¶ci znaków (nieskompresowanych) operacja zapisu
zostanie wstrzymana.
</para>
<para>
<example>
<title>Zapisywanie do tymczasowego pliku przu u¿yciu
<function>bzwrite</function></title>
<programlisting role="php">
<![CDATA[
<?php
$str = "nieskompresowane dane";
$bz = bzopen("/tmp/foo.bz2", "w");
bzwrite($bz, $str, strlen($str));
bzclose($bz);
?>
]]>
</programlisting>
</example>
</para>
<para>
Patrz tak¿e <function>bzread</function> i <function>bzopen</function>.
</para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->