From 06e487e0f33f00ead0bfc827bf2911db179ef034 Mon Sep 17 00:00:00 2001 From: jasone Date: Tue, 4 Apr 2006 20:27:53 +0000 Subject: Add malloc_usable_size() to the RETURN VALUES section. --- lib/libc/stdlib/malloc.3 | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'lib/libc/stdlib/malloc.3') 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. -- cgit v1.1