diff options
author | Stefan Metzmacher <metze@samba.org> | 2006-07-21 10:34:10 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:10:16 -0500 |
commit | 550f5fb26e67f46eead182476f7a9bcfd1ac5dc0 (patch) | |
tree | eb460e5e46e73de6a27a18dd6d86bc153ab68457 /source4/lib/talloc/talloc.3.xml | |
parent | 5f741e17d7341c0f8d317a0974d6a1cc123fb73e (diff) | |
download | samba-550f5fb26e67f46eead182476f7a9bcfd1ac5dc0.tar.gz samba-550f5fb26e67f46eead182476f7a9bcfd1ac5dc0.tar.bz2 samba-550f5fb26e67f46eead182476f7a9bcfd1ac5dc0.zip |
r17176: remove off_t from talloc. size_t is large enough to hold
the max amount of memory of one process
metze
(This used to be commit f47b7bb656c8854c16c5a28ba24d18eeb22b6e22)
Diffstat (limited to 'source4/lib/talloc/talloc.3.xml')
-rw-r--r-- | source4/lib/talloc/talloc.3.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/talloc/talloc.3.xml b/source4/lib/talloc/talloc.3.xml index 7b254ae7c7..ef032f8426 100644 --- a/source4/lib/talloc/talloc.3.xml +++ b/source4/lib/talloc/talloc.3.xml @@ -364,7 +364,7 @@ talloc_realloc(ctx, ptr, type, 0) ==> talloc_free(ptr);</programlisting> data if you do this. </para> </refsect2> - <refsect2><title>off_t talloc_total_size(const void *<emphasis role="italic">ptr</emphasis>);</title> + <refsect2><title>size_t talloc_total_size(const void *<emphasis role="italic">ptr</emphasis>);</title> <para> The talloc_total_size() function returns the total size in bytes used by this pointer and all child pointers. Mostly useful for @@ -376,7 +376,7 @@ talloc_realloc(ctx, ptr, type, 0) ==> talloc_free(ptr);</programlisting> talloc_enable_leak_report_full() has been called. </para> </refsect2> - <refsect2><title>off_t talloc_total_blocks(const void *<emphasis role="italic">ptr</emphasis>);</title> + <refsect2><title>size_t talloc_total_blocks(const void *<emphasis role="italic">ptr</emphasis>);</title> <para> The talloc_total_blocks() function returns the total memory block count used by this pointer and all child pointers. Mostly useful |