summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorjasone <jasone@FreeBSD.org>2006-04-04 20:27:53 +0000
committerjasone <jasone@FreeBSD.org>2006-04-04 20:27:53 +0000
commit06e487e0f33f00ead0bfc827bf2911db179ef034 (patch)
treef7a5dba22eaa95864221f80f62ad607ec45933a4 /lib
parentbfe18768df7cbe969ac451877160bf29224a154e (diff)
downloadFreeBSD-src-06e487e0f33f00ead0bfc827bf2911db179ef034.zip
FreeBSD-src-06e487e0f33f00ead0bfc827bf2911db179ef034.tar.gz
Add malloc_usable_size() to the RETURN VALUES section.
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/stdlib/malloc.37
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/libc/stdlib/malloc.3 b/lib/libc/stdlib/malloc.3
index 46ce26c..0cb1473 100644
--- a/lib/libc/stdlib/malloc.3
+++ b/lib/libc/stdlib/malloc.3
@@ -32,7 +32,7 @@
.\" @(#)malloc.3 8.1 (Berkeley) 6/4/93
.\" $FreeBSD$
.\"
-.Dd March 28, 2006
+.Dd April 4, 2006
.Dt MALLOC 3
.Os
.Sh NAME
@@ -316,6 +316,11 @@ deallocates it in this case.
The
.Fn free
function returns no value.
+.Pp
+The
+.Fn malloc_usable_size
+function returns the usable size of the allocation pointed to by
+.Fa ptr .
.Sh IMPLEMENTATION NOTES
This allocator uses multiple arenas in order to reduce lock contention for
threaded programs on multi-processor systems.
OpenPOWER on IntegriCloud