reference/inotify/functions/inotify-add-watch.xml
37da852aa1f9b754fed577897efa509ef4d578e5
...
...
@@ -10,7 +10,7 @@
10
10
<refsect1 role="description"><!-- {{{ -->
11
11
&reftitle.description;
12
12
<methodsynopsis>
13
-
<type>int</type><methodname>inotify_add_watch</methodname>
13
+
<type class="union"><type>int</type><type>false</type></type><methodname>inotify_add_watch</methodname>
14
14
<methodparam><type>resource</type><parameter>inotify_instance</parameter></methodparam>
15
15
<methodparam><type>string</type><parameter>pathname</parameter></methodparam>
16
16
<methodparam><type>int</type><parameter>mask</parameter></methodparam>
...
...
@@ -63,7 +63,8 @@
63
63
<refsect1 role="returnvalues"><!-- {{{ -->
64
64
&reftitle.returnvalues;
65
65
<para>
66
-
The return value is a unique (inotify instance wide) watch descriptor.
66
+
The return value is a unique (inotify instance wide) watch descriptor,
67
+
&return.falseforfailure;.
67
68
</para>
68
69
</refsect1><!-- }}} -->
69
70
70
71