php-doc-en/reference/dio/functions/dio-read.xml
Friedhelm Betz 2f2a9f9410 grammar and logical errors.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@133624 c90b9560-bf6c-de11-be94-00142212c4b1
2003-06-29 16:59:53 +00:00

48 lines
1.4 KiB
XML

<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.3 $ -->
<!-- splitted from ./en/functions/dio.xml, last change in rev 1.1 -->
<refentry id="function.dio-read">
<refnamediv>
<refname>dio_read</refname>
<refpurpose>
Reads n bytes from fd and returns them, if n is not specified,
reads 1k block
</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<methodsynopsis>
<type>string</type><methodname>dio_read</methodname>
<methodparam><type>resource</type><parameter>fd</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>n</parameter></methodparam>
</methodsynopsis>
<para>
The function <function>dio_read</function> reads and returns
<parameter>n</parameter> bytes from file with descriptor
<parameter>fd</parameter>. If <parameter>n</parameter> is
not specified, <function>dio_read</function> reads 1K sized block
and returns them.
</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
-->