[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-doc-cvs
Subject:    [DOC-CVS] =?utf-8?q?svn:_/phpdoc/en/trunk/reference/eio/_constants.xml_functions/eio-close.xml_funct
From:       Ruslan_Osmanov <osmanov () php ! net>
Date:       2012-06-24 10:10:24
Message-ID: svn-osmanov-1340532624-326324-43184767 () svn ! php ! net
[Download RAW message or body]

osmanov                                  Sun, 24 Jun 2012 10:10:24 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=326324

Log:
Added: changes according to eio 0.5.0 beta

Changed paths:
    U   phpdoc/en/trunk/reference/eio/constants.xml
    U   phpdoc/en/trunk/reference/eio/functions/eio-close.xml
    U   phpdoc/en/trunk/reference/eio/functions/eio-dup2.xml
    U   phpdoc/en/trunk/reference/eio/functions/eio-fallocate.xml
    U   phpdoc/en/trunk/reference/eio/functions/eio-fchmod.xml
    U   phpdoc/en/trunk/reference/eio/functions/eio-fchown.xml
    U   phpdoc/en/trunk/reference/eio/functions/eio-fdatasync.xml
    U   phpdoc/en/trunk/reference/eio/functions/eio-fstat.xml
    U   phpdoc/en/trunk/reference/eio/functions/eio-fstatvfs.xml
    U   phpdoc/en/trunk/reference/eio/functions/eio-fsync.xml
    U   phpdoc/en/trunk/reference/eio/functions/eio-ftruncate.xml
    U   phpdoc/en/trunk/reference/eio/functions/eio-futime.xml
    U   phpdoc/en/trunk/reference/eio/functions/eio-read.xml
    U   phpdoc/en/trunk/reference/eio/functions/eio-readahead.xml
    A   phpdoc/en/trunk/reference/eio/functions/eio-seek.xml
    U   phpdoc/en/trunk/reference/eio/functions/eio-sendfile.xml
    U   phpdoc/en/trunk/reference/eio/functions/eio-sync-file-range.xml
    U   phpdoc/en/trunk/reference/eio/functions/eio-syncfs.xml
    U   phpdoc/en/trunk/reference/eio/functions/eio-write.xml
    U   phpdoc/en/trunk/reference/eio/versions.xml


["svn-diffs-326324.txt" (text/x-diff)]

Modified: phpdoc/en/trunk/reference/eio/constants.xml
===================================================================
--- phpdoc/en/trunk/reference/eio/constants.xml	2012-06-24 10:01:42 UTC (rev 326323)
+++ phpdoc/en/trunk/reference/eio/constants.xml	2012-06-24 10:10:24 UTC (rev 326324)
@@ -4,9 +4,9 @@
 <appendix xml:id="eio.constants" xmlns="http://docbook.org/ns/docbook" \
xmlns:xlink="http://www.w3.org/1999/xlink">  &reftitle.constants;
  &extension.constants;
+
  <para>Request priority constants:
   <variablelist>
-
 <!--{{{ EIO_PRI_* -->
    <varlistentry xml:id="constant.eio-pri-min">
     <term>
@@ -15,7 +15,7 @@
     </term>
     <listitem>
      <simpara>
-     Request minimal prioriry
+      Request minimal prioriry
      </simpara>
     </listitem>
    </varlistentry>
@@ -42,9 +42,47 @@
     </listitem>
    </varlistentry>
    <!--}}}-->
+  </variablelist>
+ </para>

+ <para><function>eio_seek</function> <parameter>whence</parameter> argument:
+  <variablelist>
+   <varlistentry xml:id="constant.eio-seek-set">
+    <term>
+     <constant>EIO_SEEK_SET</constant>
+     (<type>integer</type>)
+    </term>
+    <listitem>
+     <simpara>
+      The offset is set to specified number of bytes(<parameter>offset</parameter>).
+     </simpara>
+    </listitem>
+   </varlistentry>
+   <varlistentry xml:id="constant.eio-seek-cur">
+    <term>
+     <constant>EIO_SEEK_CUR</constant>
+     (<type>integer</type>)
+    </term>
+    <listitem>
+     <simpara>
+      The offset is set to its current location plus <parameter>offset</parameter> \
bytes. +     </simpara>
+    </listitem>
+   </varlistentry>
+   <varlistentry xml:id="constant.eio-seek-end">
+    <term>
+     <constant>EIO_SEEK_END</constant>
+     (<type>integer</type>)
+    </term>
+    <listitem>
+     <simpara>
+      The offset is set to the size of the file plus <parameter>offset</parameter> \
bytes. +     </simpara>
+    </listitem>
+   </varlistentry>
   </variablelist>
  </para>
+
  <para>
   Flags used with <function>eio_readdir</function>:
   <variablelist>

Modified: phpdoc/en/trunk/reference/eio/functions/eio-close.xml
===================================================================
--- phpdoc/en/trunk/reference/eio/functions/eio-close.xml	2012-06-24 10:01:42 UTC \
                (rev 326323)
+++ phpdoc/en/trunk/reference/eio/functions/eio-close.xml	2012-06-24 10:10:24 UTC \
(rev 326324) @@ -11,7 +11,7 @@
   &reftitle.description;
   <methodsynopsis>
    <type>resource</type><methodname>eio_close</methodname>
-   <methodparam><type>int</type><parameter>fd</parameter></methodparam>
+   <methodparam><type>mixed</type><parameter>fd</parameter></methodparam>
    <methodparam
    choice="opt"><type>int</type><parameter>pri</parameter><initializer>EIO_PRI_DEFAULT</initializer></methodparam>
  <methodparam
@@ -33,7 +33,7 @@
     <term><parameter>fd</parameter></term>
     <listitem>
      <para>
-      The file descriptor
+      Stream, Socket resource, or numeric file descriptor
      </para>
     </listitem>
    </varlistentry>

Modified: phpdoc/en/trunk/reference/eio/functions/eio-dup2.xml
===================================================================
--- phpdoc/en/trunk/reference/eio/functions/eio-dup2.xml	2012-06-24 10:01:42 UTC (rev \
                326323)
+++ phpdoc/en/trunk/reference/eio/functions/eio-dup2.xml	2012-06-24 10:10:24 UTC (rev \
326324) @@ -11,7 +11,7 @@
   &reftitle.description;
   <methodsynopsis>
    <type>resource</type><methodname>eio_dup2</methodname>
-   <methodparam><type>int</type><parameter>fd</parameter></methodparam>
+   <methodparam><type>mixed</type><parameter>fd</parameter></methodparam>
    <methodparam><type>int</type><parameter>fd2</parameter></methodparam>
    <methodparam
    choice="opt"><type>int</type><parameter>pri</parameter><initializer>EIO_PRI_DEFAULT</initializer></methodparam>


Modified: phpdoc/en/trunk/reference/eio/functions/eio-fallocate.xml
===================================================================
--- phpdoc/en/trunk/reference/eio/functions/eio-fallocate.xml	2012-06-24 10:01:42 UTC \
                (rev 326323)
+++ phpdoc/en/trunk/reference/eio/functions/eio-fallocate.xml	2012-06-24 10:10:24 UTC \
(rev 326324) @@ -12,7 +12,7 @@
   &reftitle.description;
   <methodsynopsis>
    <type>resource</type><methodname>eio_fallocate</methodname>
-   <methodparam><type>int</type><parameter>fd</parameter></methodparam>
+   <methodparam><type>mixed</type><parameter>fd</parameter></methodparam>
    <methodparam><type>int</type><parameter>mode</parameter></methodparam>
    <methodparam><type>int</type><parameter>offset</parameter></methodparam>
    <methodparam><type>int</type><parameter>length</parameter></methodparam>
@@ -49,7 +49,7 @@
     <term><parameter>fd</parameter></term>
     <listitem>
      <para>
-     The file descriptor, e.g. returned by <function>eio_open</function>.
+     Stream, Socket resource, or numeric file descriptor, e.g. returned by \
<function>eio_open</function>.  </para>
     </listitem>
    </varlistentry>

Modified: phpdoc/en/trunk/reference/eio/functions/eio-fchmod.xml
===================================================================
--- phpdoc/en/trunk/reference/eio/functions/eio-fchmod.xml	2012-06-24 10:01:42 UTC \
                (rev 326323)
+++ phpdoc/en/trunk/reference/eio/functions/eio-fchmod.xml	2012-06-24 10:10:24 UTC \
(rev 326324) @@ -11,7 +11,7 @@
   &reftitle.description;
   <methodsynopsis>
    <type>resource</type><methodname>eio_fchmod</methodname>
-   <methodparam><type>int</type><parameter>fd</parameter></methodparam>
+   <methodparam><type>mixed</type><parameter>fd</parameter></methodparam>
    <methodparam><type>int</type><parameter>mode</parameter></methodparam>
    <methodparam
    choice="opt"><type>int</type><parameter>pri</parameter><initializer>EIO_PRI_DEFAULT</initializer></methodparam>
 @@ -34,7 +34,7 @@
     <term><parameter>fd</parameter></term>
     <listitem>
      <para>
-     The file descriptor, e.g. returned by <function>eio_open</function>.
+     Stream, Socket resource, or numeric file descriptor, e.g. returned by \
<function>eio_open</function>.  </para>
     </listitem>
    </varlistentry>

Modified: phpdoc/en/trunk/reference/eio/functions/eio-fchown.xml
===================================================================
--- phpdoc/en/trunk/reference/eio/functions/eio-fchown.xml	2012-06-24 10:01:42 UTC \
                (rev 326323)
+++ phpdoc/en/trunk/reference/eio/functions/eio-fchown.xml	2012-06-24 10:10:24 UTC \
(rev 326324) @@ -11,7 +11,7 @@
   &reftitle.description;
   <methodsynopsis>
    <type>resource</type><methodname>eio_fchown</methodname>
-   <methodparam><type>int</type><parameter>fd</parameter></methodparam>
+   <methodparam><type>mixed</type><parameter>fd</parameter></methodparam>
    <methodparam><type>int</type><parameter>uid</parameter></methodparam>
    <methodparam choice="opt"><type>int</type><parameter>gid</parameter><initializer>-1</initializer></methodparam>
  <methodparam
@@ -35,7 +35,7 @@
     <term><parameter>fd</parameter></term>
     <listitem>
      <para>
-     The file descriptor.
+     Stream, Socket resource, or numeric file descriptor.
      </para>
     </listitem>
    </varlistentry>

Modified: phpdoc/en/trunk/reference/eio/functions/eio-fdatasync.xml
===================================================================
--- phpdoc/en/trunk/reference/eio/functions/eio-fdatasync.xml	2012-06-24 10:01:42 UTC \
                (rev 326323)
+++ phpdoc/en/trunk/reference/eio/functions/eio-fdatasync.xml	2012-06-24 10:10:24 UTC \
(rev 326324) @@ -11,7 +11,7 @@
   &reftitle.description;
   <methodsynopsis>
    <type>resource</type><methodname>eio_fdatasync</methodname>
-   <methodparam><type>int</type><parameter>fd</parameter></methodparam>
+   <methodparam><type>mixed</type><parameter>fd</parameter></methodparam>
    <methodparam
    choice="opt"><type>int</type><parameter>pri</parameter><initializer>EIO_PRI_DEFAULT</initializer></methodparam>
  <methodparam
@@ -32,7 +32,7 @@
     <term><parameter>fd</parameter></term>
     <listitem>
      <para>
-     The file descriptor, e.g. returned by <function>eio_open</function>.
+     Stream, Socket resource, or numeric file descriptor, e.g. returned by \
<function>eio_open</function>.  </para>
     </listitem>
    </varlistentry>

Modified: phpdoc/en/trunk/reference/eio/functions/eio-fstat.xml
===================================================================
--- phpdoc/en/trunk/reference/eio/functions/eio-fstat.xml	2012-06-24 10:01:42 UTC \
                (rev 326323)
+++ phpdoc/en/trunk/reference/eio/functions/eio-fstat.xml	2012-06-24 10:10:24 UTC \
(rev 326324) @@ -11,7 +11,7 @@
   &reftitle.description;
   <methodsynopsis>
    <type>resource</type><methodname>eio_fstat</methodname>
-   <methodparam><type>int</type><parameter>fd</parameter></methodparam>
+   <methodparam><type>mixed</type><parameter>fd</parameter></methodparam>
    <methodparam><type>int</type><parameter>pri</parameter></methodparam>
    <methodparam><type>callable</type><parameter>callback</parameter></methodparam>
    <methodparam choice="opt"><type>mixed</type><parameter>data</parameter></methodparam>
 @@ -30,7 +30,7 @@
     <term><parameter>fd</parameter></term>
     <listitem>
      <para>
-     The file descriptor.
+     Stream, Socket resource, or numeric file descriptor.
      </para>
     </listitem>
    </varlistentry>

Modified: phpdoc/en/trunk/reference/eio/functions/eio-fstatvfs.xml
===================================================================
--- phpdoc/en/trunk/reference/eio/functions/eio-fstatvfs.xml	2012-06-24 10:01:42 UTC \
                (rev 326323)
+++ phpdoc/en/trunk/reference/eio/functions/eio-fstatvfs.xml	2012-06-24 10:10:24 UTC \
(rev 326324) @@ -11,7 +11,7 @@
   &reftitle.description;
   <methodsynopsis>
    <type>resource</type><methodname>eio_fstatvfs</methodname>
-   <methodparam><type>int</type><parameter>fd</parameter></methodparam>
+   <methodparam><type>mixed</type><parameter>fd</parameter></methodparam>
    <methodparam><type>int</type><parameter>pri</parameter></methodparam>
    <methodparam><type>callable</type><parameter>callback</parameter></methodparam>
    <methodparam choice="opt"><type>mixed</type><parameter>data</parameter></methodparam>


Modified: phpdoc/en/trunk/reference/eio/functions/eio-fsync.xml
===================================================================
--- phpdoc/en/trunk/reference/eio/functions/eio-fsync.xml	2012-06-24 10:01:42 UTC \
                (rev 326323)
+++ phpdoc/en/trunk/reference/eio/functions/eio-fsync.xml	2012-06-24 10:10:24 UTC \
(rev 326324) @@ -11,7 +11,7 @@
   &reftitle.description;
   <methodsynopsis>
    <type>resource</type><methodname>eio_fsync</methodname>
-   <methodparam><type>int</type><parameter>fd</parameter></methodparam>
+   <methodparam><type>mixed</type><parameter>fd</parameter></methodparam>
    <methodparam
    choice="opt"><type>int</type><parameter>pri</parameter><initializer>EIO_PRI_DEFAULT</initializer></methodparam>
  <methodparam
@@ -32,7 +32,7 @@
     <term><parameter>fd</parameter></term>
     <listitem>
      <para>
-     The file descriptor.
+     Stream, Socket resource, or numeric file descriptor.
      </para>
     </listitem>
    </varlistentry>

Modified: phpdoc/en/trunk/reference/eio/functions/eio-ftruncate.xml
===================================================================
--- phpdoc/en/trunk/reference/eio/functions/eio-ftruncate.xml	2012-06-24 10:01:42 UTC \
                (rev 326323)
+++ phpdoc/en/trunk/reference/eio/functions/eio-ftruncate.xml	2012-06-24 10:10:24 UTC \
(rev 326324) @@ -11,7 +11,7 @@
   &reftitle.description;
   <methodsynopsis>
    <type>resource</type><methodname>eio_ftruncate</methodname>
-   <methodparam><type>int</type><parameter>fd</parameter></methodparam>
+   <methodparam><type>mixed</type><parameter>fd</parameter></methodparam>
    <methodparam choice="opt"><type>int</type><parameter>offset</parameter><initializer>0</initializer></methodparam>
  <methodparam
    choice="opt"><type>int</type><parameter>pri</parameter><initializer>EIO_PRI_DEFAULT</initializer></methodparam>
 @@ -35,7 +35,7 @@
     <term><parameter>fd</parameter></term>
     <listitem>
      <para>
-     The file descriptor.
+     Stream, Socket resource, or numeric file descriptor.
      </para>
     </listitem>
    </varlistentry>

Modified: phpdoc/en/trunk/reference/eio/functions/eio-futime.xml
===================================================================
--- phpdoc/en/trunk/reference/eio/functions/eio-futime.xml	2012-06-24 10:01:42 UTC \
                (rev 326323)
+++ phpdoc/en/trunk/reference/eio/functions/eio-futime.xml	2012-06-24 10:10:24 UTC \
(rev 326324) @@ -11,7 +11,7 @@
   &reftitle.description;
   <methodsynopsis>
    <type>resource</type><methodname>eio_futime</methodname>
-   <methodparam><type>int</type><parameter>fd</parameter></methodparam>
+   <methodparam><type>mixed</type><parameter>fd</parameter></methodparam>
    <methodparam><type>float</type><parameter>atime</parameter></methodparam>
    <methodparam><type>float</type><parameter>mtime</parameter></methodparam>
    <methodparam
@@ -36,7 +36,7 @@
     <term><parameter>fd</parameter></term>
     <listitem>
      <para>
-     The file descriptor, e.g. returned by <function>eio_open</function>
+     Stream, Socket resource, or numeric file descriptor, e.g. returned by \
<function>eio_open</function>  </para>
     </listitem>
    </varlistentry>

Modified: phpdoc/en/trunk/reference/eio/functions/eio-read.xml
===================================================================
--- phpdoc/en/trunk/reference/eio/functions/eio-read.xml	2012-06-24 10:01:42 UTC (rev \
                326323)
+++ phpdoc/en/trunk/reference/eio/functions/eio-read.xml	2012-06-24 10:10:24 UTC (rev \
326324) @@ -11,7 +11,7 @@
   &reftitle.description;
   <methodsynopsis>
    <type>resource</type><methodname>eio_read</methodname>
-   <methodparam><type>int</type><parameter>fd</parameter></methodparam>
+   <methodparam><type>mixed</type><parameter>fd</parameter></methodparam>
    <methodparam><type>int</type><parameter>length</parameter></methodparam>
    <methodparam><type>int</type><parameter>offset</parameter></methodparam>
    <methodparam><type>int</type><parameter>pri</parameter></methodparam>
@@ -35,7 +35,7 @@
     <term><parameter>fd</parameter></term>
     <listitem>
      <para>
-     The file descriptor
+     Stream, Socket resource, or numeric file descriptor
      </para>
     </listitem>
    </varlistentry>

Modified: phpdoc/en/trunk/reference/eio/functions/eio-readahead.xml
===================================================================
--- phpdoc/en/trunk/reference/eio/functions/eio-readahead.xml	2012-06-24 10:01:42 UTC \
                (rev 326323)
+++ phpdoc/en/trunk/reference/eio/functions/eio-readahead.xml	2012-06-24 10:10:24 UTC \
(rev 326324) @@ -11,7 +11,7 @@
   &reftitle.description;
   <methodsynopsis>
    <type>resource</type><methodname>eio_readahead</methodname>
-   <methodparam><type>int</type><parameter>fd</parameter></methodparam>
+   <methodparam><type>mixed</type><parameter>fd</parameter></methodparam>
    <methodparam><type>int</type><parameter>offset</parameter></methodparam>
    <methodparam><type>int</type><parameter>length</parameter></methodparam>
    <methodparam
@@ -35,7 +35,7 @@
     <term><parameter>fd</parameter></term>
     <listitem>
      <para>
-     The file descriptor
+     Stream, Socket resource, or numeric file descriptor
      </para>
     </listitem>
    </varlistentry>

Added: phpdoc/en/trunk/reference/eio/functions/eio-seek.xml
===================================================================
--- phpdoc/en/trunk/reference/eio/functions/eio-seek.xml	                        (rev \
                0)
+++ phpdoc/en/trunk/reference/eio/functions/eio-seek.xml	2012-06-24 10:10:24 UTC (rev \
326324) @@ -0,0 +1,113 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- $Revision: 324122 $ -->
+
+<refentry xml:id="function.eio-seek" xmlns="http://docbook.org/ns/docbook" \
xmlns:xlink="http://www.w3.org/1999/xlink"> + <refnamediv>
+  <refname>eio_seek</refname>
+  <refpurpose>Repositions the offset of the open file associated with the \
<parameter>fd</parameter> argument to the argument <parameter>offset</parameter> \
according to the directive <parameter>whence</parameter></refpurpose> + </refnamediv>
+
+ <refsect1 role="description">
+  &reftitle.description;
+  <methodsynopsis>
+   <type>resource</type><methodname>eio_seek</methodname>
+   <methodparam><type>mixed</type><parameter>fd</parameter></methodparam>
+   <methodparam><type>int</type><parameter>offset</parameter></methodparam>
+   <methodparam><type>int</type><parameter>whence</parameter></methodparam>
+   <methodparam
+   choice="opt"><type>int</type><parameter>pri</parameter><initializer>EIO_PRI_DEFAULT</initializer></methodparam>
 +   <methodparam
+   choice="opt"><type>callable</type><parameter>callback</parameter><initializer>NULL</initializer></methodparam>
 +   <methodparam
+   choice="opt"><type>mixed</type><parameter>data</parameter><initializer>NULL</initializer></methodparam>
 +  </methodsynopsis>
+  <para>
+   <function>eio_seek</function> repositions the offset of the open file associated \
with +   stream, Socket resource, or file descriptor specified by \
<parameter>fd</parameter> to the argument <parameter>offset</parameter> according to \
the directive <parameter>whence</parameter> as follows: +   <simplelist>
+    <member><constant>EIO_SEEK_SET</constant> - Set position equal to \
<parameter>offset</parameter> bytes.</member> +    \
<member><constant>EIO_SEEK_CUR</constant> - Set position to current location plus \
<parameter>offset</parameter>.</member> +    \
<member><constant>EIO_SEEK_END</constant> - Set position to end-of-file plus \
<parameter>offset</parameter>.</member> +   </simplelist>
+  </para>
+ </refsect1>
+
+ <refsect1 role="parameters">
+  &reftitle.parameters;
+  <variablelist>
+   <varlistentry>
+    <term><parameter>fd</parameter></term>
+    <listitem>
+     <para>
+     Stream, Socket resource, or numeric file descriptor
+     </para>
+    </listitem>
+   </varlistentry>
+   <varlistentry>
+    <term><parameter>offset</parameter></term>
+    <listitem>
+     <para>
+     Starting point from which data is to be read.
+     </para>
+    </listitem>
+   </varlistentry>
+   <varlistentry>
+    <term><parameter>length</parameter></term>
+    <listitem>
+     <para>
+     Number of bytes to be read.
+     </para>
+    </listitem>
+   </varlistentry>
+   <varlistentry>
+    <term><parameter>pri</parameter></term>
+    <listitem>
+    &eio.request.pri.values;
+    </listitem>
+   </varlistentry>
+   <varlistentry>
+    <term><parameter>callback</parameter></term>
+    <listitem>
+     &eio.callback.proto;
+    </listitem>
+   </varlistentry>
+   <varlistentry>
+    <term><parameter>data</parameter></term>
+    <listitem>
+     <para>
+     Arbitrary variable passed to <parameter>callback</parameter>.
+     </para>
+    </listitem>
+   </varlistentry>
+  </variablelist>
+ </refsect1>
+
+ <refsect1 role="returnvalues">
+  &reftitle.returnvalues;
+  <para>
+   <function>eio_seek</function> returns request resource on success or &false; on \
error. +  </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:"~/.phpdoc/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
+-->

Modified: phpdoc/en/trunk/reference/eio/functions/eio-sendfile.xml
===================================================================
--- phpdoc/en/trunk/reference/eio/functions/eio-sendfile.xml	2012-06-24 10:01:42 UTC \
                (rev 326323)
+++ phpdoc/en/trunk/reference/eio/functions/eio-sendfile.xml	2012-06-24 10:10:24 UTC \
(rev 326324) @@ -11,8 +11,8 @@
   &reftitle.description;
   <methodsynopsis>
    <type>resource</type><methodname>eio_sendfile</methodname>
-   <methodparam><type>int</type><parameter>out_fd</parameter></methodparam>
-   <methodparam><type>int</type><parameter>in_fd</parameter></methodparam>
+   <methodparam><type>mixed</type><parameter>out_fd</parameter></methodparam>
+   <methodparam><type>mixed</type><parameter>in_fd</parameter></methodparam>
    <methodparam><type>int</type><parameter>offset</parameter></methodparam>
    <methodparam><type>int</type><parameter>length</parameter></methodparam>
    <methodparam choice="opt"><type>int</type><parameter>pri</parameter></methodparam>
 @@ -33,7 +33,7 @@
     <term><parameter>out_fd</parameter></term>
     <listitem>
      <para>
-     Output file descriptor. Should be opened for writing.
+     Output stream, Socket resource, or file descriptor. Should be opened for \
writing.  </para>
     </listitem>
    </varlistentry>
@@ -41,7 +41,7 @@
     <term><parameter>in_fd</parameter></term>
     <listitem>
      <para>
-     Input file descriptor. Should be opened for reading.
+     Input stream, Socket resource, or file descriptor. Should be opened for \
reading.  </para>
     </listitem>
    </varlistentry>

Modified: phpdoc/en/trunk/reference/eio/functions/eio-sync-file-range.xml
===================================================================
--- phpdoc/en/trunk/reference/eio/functions/eio-sync-file-range.xml	2012-06-24 \
                10:01:42 UTC (rev 326323)
+++ phpdoc/en/trunk/reference/eio/functions/eio-sync-file-range.xml	2012-06-24 \
10:10:24 UTC (rev 326324) @@ -11,7 +11,7 @@
   &reftitle.description;
   <methodsynopsis>
    <type>resource</type><methodname>eio_sync_file_range</methodname>
-   <methodparam><type>int</type><parameter>fd</parameter></methodparam>
+   <methodparam><type>mixed</type><parameter>fd</parameter></methodparam>
    <methodparam><type>int</type><parameter>offset</parameter></methodparam>
    <methodparam><type>int</type><parameter>nbytes</parameter></methodparam>
    <methodparam><type>int</type><parameter>flags</parameter></methodparam>

Modified: phpdoc/en/trunk/reference/eio/functions/eio-syncfs.xml
===================================================================
--- phpdoc/en/trunk/reference/eio/functions/eio-syncfs.xml	2012-06-24 10:01:42 UTC \
                (rev 326323)
+++ phpdoc/en/trunk/reference/eio/functions/eio-syncfs.xml	2012-06-24 10:10:24 UTC \
(rev 326324) @@ -11,7 +11,7 @@
   &reftitle.description;
   <methodsynopsis>
    <type>resource</type><methodname>eio_syncfs</methodname>
-   <methodparam><type>int</type><parameter>fd</parameter></methodparam>
+   <methodparam><type>mixed</type><parameter>fd</parameter></methodparam>
    <methodparam
    choice="opt"><type>int</type><parameter>pri</parameter><initializer>EIO_PRI_DEFAULT</initializer></methodparam>
  <methodparam

Modified: phpdoc/en/trunk/reference/eio/functions/eio-write.xml
===================================================================
--- phpdoc/en/trunk/reference/eio/functions/eio-write.xml	2012-06-24 10:01:42 UTC \
                (rev 326323)
+++ phpdoc/en/trunk/reference/eio/functions/eio-write.xml	2012-06-24 10:10:24 UTC \
(rev 326324) @@ -11,7 +11,7 @@
   &reftitle.description;
   <methodsynopsis>
    <type>resource</type><methodname>eio_write</methodname>
-   <methodparam><type>int</type><parameter>fd</parameter></methodparam>
+   <methodparam><type>mixed</type><parameter>fd</parameter></methodparam>
    <methodparam><type>string</type><parameter \
role="reference">str</parameter></methodparam>  <methodparam \
choice="opt"><type>int</type><parameter>length</parameter><initializer>0</initializer></methodparam>
  <methodparam choice="opt"><type>int</type><parameter>offset</parameter><initializer>0</initializer></methodparam>
 @@ -37,7 +37,7 @@
     <term><parameter>fd</parameter></term>
     <listitem>
      <para>
-     The file descriptor, e.g. returned by <function>eio_open</function>
+     Stream, Socket resource, or numeric file descriptor, e.g. returned by \
<function>eio_open</function>  </para>
     </listitem>
    </varlistentry>

Modified: phpdoc/en/trunk/reference/eio/versions.xml
===================================================================
--- phpdoc/en/trunk/reference/eio/versions.xml	2012-06-24 10:01:42 UTC (rev 326323)
+++ phpdoc/en/trunk/reference/eio/versions.xml	2012-06-24 10:10:24 UTC (rev 326324)
@@ -41,6 +41,7 @@
  <function name='eio_readdir' from='PECL eio &gt;= 0.0.1dev'/>
  <function name='eio_sendfile' from='PECL eio &gt;= 0.0.1dev'/>
  <function name='eio_readahead' from='PECL eio &gt;= 0.0.1dev'/>
+ <function name='eio_seek' from='PECL eio &gt;= 0.5.0b'/>
  <function name='eio_syncfs' from='PECL eio &gt;= 0.0.1dev'/>
  <function name='eio_sync_file_range' from='PECL eio &gt;= 0.0.1dev'/>
  <function name='eio_fallocate' from='PECL eio &gt;= 0.0.1dev'/>



-- 
PHP Documentation Commits Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic