Skip to content

Commit

Permalink
Sync inotify section
Browse files Browse the repository at this point in the history
  • Loading branch information
Girgias committed Jan 10, 2024
1 parent 106b0f1 commit 28f90b7
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 41 deletions.
11 changes: 6 additions & 5 deletions reference/inotify/book.xml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 1634a886415d0ab4df195fe49d18a1c150b70758 Maintainer: chuso Status: ready -->
<!-- EN-Revision: 68c2c871505aadf983f16113c5b077b335ce8d76 Maintainer: chuso Status: ready -->
<!-- Reviewed: no -->

<book xml:id="book.inotify" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<?phpdoc extension-membership="pecl" ?>
<title>Inotify</title>

<!-- {{{ preface -->
<preface xml:id="intro.inotify">
&reftitle.intro;
Expand All @@ -14,7 +15,7 @@
<function>inotify_add_watch</function> e <function>inotify_rm_watch</function>.
</para>
<para>

Así como la función <function>inotify_init</function> de C devuelve un file
descriptor, <function>inotify_init</function> de PHP devuelve un recurso de flujo,
que puede ser usado con las funciones de flujo estándar, como
Expand All @@ -24,11 +25,11 @@
</para>
</preface>
<!-- }}} -->

&reference.inotify.setup;
&reference.inotify.constants;
&reference.inotify.reference;

</book>

<!-- Keep this comment at the end of the file
Expand Down
48 changes: 24 additions & 24 deletions reference/inotify/constants.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 14af302c9c0e561fa6f9cdd956268758ba9a89c5 Maintainer: bng5 Status: ready -->
<!-- EN-Revision: 86e6094e86b84a51d00ab217ac50ce8dde33d82a Maintainer: bng5 Status: ready -->
<appendix xml:id="inotify.constants" xmlns="http://docbook.org/ns/docbook">
&reftitle.constants;
&extension.constants;
Expand All @@ -9,7 +9,7 @@
<varlistentry xml:id="constant.in-access">
<term>
<constant>IN_ACCESS</constant>
(<type>integer</type>)
(<type>int</type>)
</term>
<listitem>
<simpara>
Expand All @@ -20,7 +20,7 @@
<varlistentry xml:id="constant.in-modify">
<term>
<constant>IN_MODIFY</constant>
(<type>integer</type>)
(<type>int</type>)
</term>
<listitem>
<simpara>
Expand All @@ -31,7 +31,7 @@
<varlistentry xml:id="constant.in-attrib">
<term>
<constant>IN_ATTRIB</constant>
(<type>integer</type>)
(<type>int</type>)
</term>
<listitem>
<simpara>
Expand All @@ -42,7 +42,7 @@
<varlistentry xml:id="constant.in-close-write">
<term>
<constant>IN_CLOSE_WRITE</constant>
(<type>integer</type>)
(<type>int</type>)
</term>
<listitem>
<simpara>
Expand All @@ -53,7 +53,7 @@
<varlistentry xml:id="constant.in-close-nowrite">
<term>
<constant>IN_CLOSE_NOWRITE</constant>
(<type>integer</type>)
(<type>int</type>)
</term>
<listitem>
<simpara>
Expand All @@ -64,7 +64,7 @@
<varlistentry xml:id="constant.in-open">
<term>
<constant>IN_OPEN</constant>
(<type>integer</type>)
(<type>int</type>)
</term>
<listitem>
<simpara>
Expand All @@ -75,7 +75,7 @@
<varlistentry xml:id="constant.in-moved-to">
<term>
<constant>IN_MOVED_TO</constant>
(<type>integer</type>)
(<type>int</type>)
</term>
<listitem>
<simpara>
Expand All @@ -86,7 +86,7 @@
<varlistentry xml:id="constant.in-moved-from">
<term>
<constant>IN_MOVED_FROM</constant>
(<type>integer</type>)
(<type>int</type>)
</term>
<listitem>
<simpara>
Expand All @@ -97,7 +97,7 @@
<varlistentry xml:id="constant.in-create">
<term>
<constant>IN_CREATE</constant>
(<type>integer</type>)
(<type>int</type>)
</term>
<listitem>
<simpara>
Expand All @@ -108,7 +108,7 @@
<varlistentry xml:id="constant.in-delete">
<term>
<constant>IN_DELETE</constant>
(<type>integer</type>)
(<type>int</type>)
</term>
<listitem>
<simpara>
Expand All @@ -119,7 +119,7 @@
<varlistentry xml:id="constant.in-delete-self">
<term>
<constant>IN_DELETE_SELF</constant>
(<type>integer</type>)
(<type>int</type>)
</term>
<listitem>
<simpara>
Expand All @@ -130,7 +130,7 @@
<varlistentry xml:id="constant.in-move-self">
<term>
<constant>IN_MOVE_SELF</constant>
(<type>integer</type>)
(<type>int</type>)
</term>
<listitem>
<simpara>
Expand All @@ -141,7 +141,7 @@
<varlistentry xml:id="constant.in-close">
<term>
<constant>IN_CLOSE</constant>
(<type>integer</type>)
(<type>int</type>)
</term>
<listitem>
<simpara>
Expand All @@ -152,7 +152,7 @@
<varlistentry xml:id="constant.in-move">
<term>
<constant>IN_MOVE</constant>
(<type>integer</type>)
(<type>int</type>)
</term>
<listitem>
<simpara>
Expand All @@ -163,7 +163,7 @@
<varlistentry xml:id="constant.in-all-events">
<term>
<constant>IN_ALL_EVENTS</constant>
(<type>integer</type>)
(<type>int</type>)
</term>
<listitem>
<simpara>
Expand All @@ -174,7 +174,7 @@
<varlistentry xml:id="constant.in-unmount">
<term>
<constant>IN_UNMOUNT</constant>
(<type>integer</type>)
(<type>int</type>)
</term>
<listitem>
<simpara>
Expand All @@ -185,7 +185,7 @@
<varlistentry xml:id="constant.in-q-overflow">
<term>
<constant>IN_Q_OVERFLOW</constant>
(<type>integer</type>)
(<type>int</type>)
</term>
<listitem>
<simpara>
Expand All @@ -196,7 +196,7 @@
<varlistentry xml:id="constant.in-ignored">
<term>
<constant>IN_IGNORED</constant>
(<type>integer</type>)
(<type>int</type>)
</term>
<listitem>
<simpara>
Expand All @@ -208,7 +208,7 @@
<varlistentry xml:id="constant.in-isdir">
<term>
<constant>IN_ISDIR</constant>
(<type>integer</type>)
(<type>int</type>)
</term>
<listitem>
<simpara>
Expand All @@ -219,7 +219,7 @@
<varlistentry xml:id="constant.in-onlydir">
<term>
<constant>IN_ONLYDIR</constant>
(<type>integer</type>)
(<type>int</type>)
</term>
<listitem>
<simpara>
Expand All @@ -230,7 +230,7 @@
<varlistentry xml:id="constant.in-dont-follow">
<term>
<constant>IN_DONT_FOLLOW</constant>
(<type>integer</type>)
(<type>int</type>)
</term>
<listitem>
<simpara>
Expand All @@ -241,7 +241,7 @@
<varlistentry xml:id="constant.in-mask-add">
<term>
<constant>IN_MASK_ADD</constant>
(<type>integer</type>)
(<type>int</type>)
</term>
<listitem>
<simpara>
Expand All @@ -253,7 +253,7 @@
<varlistentry xml:id="constant.in-oneshot">
<term>
<constant>IN_ONESHOT</constant>
(<type>integer</type>)
(<type>int</type>)
</term>
<listitem>
<simpara>
Expand Down
17 changes: 11 additions & 6 deletions reference/inotify/functions/inotify-init.xml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: e41806c30bf6975e452c0d4ce35ab0984c2fa68c Maintainer: bng5 Status: ready -->
<!-- EN-Revision: cbac1ecf71d754707d69bdc344c4031c157eaa54 Maintainer: bng5 Status: ready -->
<refentry xml:id="function.inotify-init" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>inotify_init</refname>
<refpurpose>Inicializa una instancia inotify</refpurpose>
</refnamediv>

<refsect1 role="description"><!-- {{{ -->
&reftitle.description;
<methodsynopsis>
Expand All @@ -18,14 +18,19 @@
<function>inotify_add_watch</function>
</para>
</refsect1><!-- }}} -->


<refsect1 role="parameters">
&reftitle.parameters;
&no.function.parameters;
</refsect1>

<refsect1 role="returnvalues"><!-- {{{ -->
&reftitle.returnvalues;
<para>
Un recurso de secuencia o &false; en caso de error.
</para>
</refsect1><!-- }}} -->

<refsect1 role="examples"><!-- {{{ -->
&reftitle.examples;
<para>
Expand Down Expand Up @@ -91,7 +96,7 @@ array(
</example><!-- }}} -->
</para>
</refsect1><!-- }}} -->

<refsect1 role="seealso"><!-- {{{ -->
&reftitle.seealso;
<para>
Expand All @@ -106,7 +111,7 @@ array(
</refsect1><!-- }}} -->

</refentry>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Expand Down
12 changes: 6 additions & 6 deletions reference/inotify/functions/inotify-read.xml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: af4410a7e15898c3dbe83d6ea38246745ed9c6fb Maintainer: bng5 Status: ready -->
<!-- EN-Revision: 4754397753fd79f1c846868b66a2448babab1c54 Maintainer: bng5 Status: ready -->
<refentry xml:id="function.inotify-read" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>inotify_read</refname>
<refpurpose>Lee eventos de una instancia inotify</refpurpose>
</refnamediv>

<refsect1 role="description"><!-- {{{ -->
&reftitle.description;
<methodsynopsis>
Expand All @@ -17,7 +17,7 @@
Leer eventos inotify de una instancia inotify.
</para>
</refsect1><!-- }}} -->

<refsect1 role="parameters"><!-- {{{ -->
&reftitle.parameters;
<para>
Expand All @@ -33,7 +33,7 @@
</variablelist>
</para>
</refsect1><!-- }}} -->

<refsect1 role="returnvalues"><!-- {{{ -->
&reftitle.returnvalues;
<para>
Expand All @@ -51,7 +51,7 @@
</simplelist>
</para>
</refsect1><!-- }}} -->

<refsect1 role="seealso"><!-- {{{ -->
&reftitle.seealso;
<para>
Expand All @@ -65,7 +65,7 @@
</refsect1><!-- }}} -->

</refentry>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Expand Down

0 comments on commit 28f90b7

Please sign in to comment.