summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Evans <jasone@FreeBSD.org>2006-04-04 20:27:53 +0000
committerJason Evans <jasone@FreeBSD.org>2006-04-04 20:27:53 +0000
commit94fc7dc0d57481a7cbb583c8b8df2be3ab8ce661 (patch)
treef7a5dba22eaa95864221f80f62ad607ec45933a4
parentd214ccb6ba7b696eb4c5e09d9404a1df90fde420 (diff)
Notes
-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 46ce26cb3fcd..0cb14734cffd 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.