Skip to content

Commit

Permalink
Sync inotify
Browse files Browse the repository at this point in the history
  • Loading branch information
sy-records committed Feb 9, 2024
1 parent 44ff6dc commit 46d3a5d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
8 changes: 5 additions & 3 deletions reference/inotify/functions/inotify-add-watch.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: af4410a7e15898c3dbe83d6ea38246745ed9c6fb Maintainer: songmeifeng Status: ready -->
<!-- EN-Revision: 37da852aa1f9b754fed577897efa509ef4d578e5 Maintainer: songmeifeng Status: ready -->
<!-- CREDITS: Luffy -->
<refentry xml:id="function.inotify-add-watch" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>inotify_add_watch</refname>
Expand All @@ -10,7 +11,7 @@
<refsect1 role="description"><!-- {{{ -->
&reftitle.description;
<methodsynopsis>
<type>int</type><methodname>inotify_add_watch</methodname>
<type class="union"><type>int</type><type>false</type></type><methodname>inotify_add_watch</methodname>
<methodparam><type>resource</type><parameter>inotify_instance</parameter></methodparam>
<methodparam><type>string</type><parameter>pathname</parameter></methodparam>
<methodparam><type>int</type><parameter>mask</parameter></methodparam>
Expand Down Expand Up @@ -60,7 +61,8 @@
<refsect1 role="returnvalues"><!-- {{{ -->
&reftitle.returnvalues;
<para>
返回值是一个唯一的(inotify 实例范围内)监听描述符。
返回值是一个唯一的(inotify 实例范围内)监听描述符,
&return.falseforfailure;
</para>
</refsect1><!-- }}} -->

Expand Down
5 changes: 3 additions & 2 deletions reference/inotify/functions/inotify-init.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: cbac1ecf71d754707d69bdc344c4031c157eaa54 Maintainer: songmeifeng Status: ready -->
<!-- EN-Revision: 37da852aa1f9b754fed577897efa509ef4d578e5 Maintainer: songmeifeng Status: ready -->
<!-- CREDITS: Luffy -->
<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>
Expand All @@ -10,7 +11,7 @@
<refsect1 role="description"><!-- {{{ -->
&reftitle.description;
<methodsynopsis>
<type>resource</type><methodname>inotify_init</methodname>
<type class="union"><type>resource</type><type>false</type></type><methodname>inotify_init</methodname>
<void />
</methodsynopsis>
<para>
Expand Down

0 comments on commit 46d3a5d

Please sign in to comment.