summaryrefslogtreecommitdiff
path: root/source4/lib/talloc/talloc.3.xml
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/talloc/talloc.3.xml')
-rw-r--r--source4/lib/talloc/talloc.3.xml5
1 files changed, 4 insertions, 1 deletions
diff --git a/source4/lib/talloc/talloc.3.xml b/source4/lib/talloc/talloc.3.xml
index 952083a805..247bb28ed9 100644
--- a/source4/lib/talloc/talloc.3.xml
+++ b/source4/lib/talloc/talloc.3.xml
@@ -235,7 +235,7 @@
about to go away.
</para>
</refsect2>
- <refsect2><title>void talloc_increase_ref_count(const void *<emphasis role="italic">ptr</emphasis>);</title>
+ <refsect2><title>int talloc_increase_ref_count(const void *<emphasis role="italic">ptr</emphasis>);</title>
<para>
The talloc_increase_ref_count(<emphasis
role="italic">ptr</emphasis>) function is exactly equivalent to:
@@ -245,6 +245,9 @@
You can use either syntax, depending on which you think is
clearer in your code.
</para>
+ <para>
+ It returns 0 on success and -1 on failure.
+ </para>
</refsect2>
<refsect2 id="talloc_set_name"><title>void talloc_set_name(const void *ptr, const char *fmt, ...);</title>
<para>