From b8726e60beb1706d11da3b1aa5f585c02cb03ed9 Mon Sep 17 00:00:00 2001 From: alfred Date: Thu, 19 Aug 2004 16:34:31 +0000 Subject: Reword recent addition about memory moving. Requested by: keramida Bump .Dd Requested by: ru --- lib/libc/stdlib/malloc.3 | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'lib/libc') diff --git a/lib/libc/stdlib/malloc.3 b/lib/libc/stdlib/malloc.3 index c32827d..d2916da 100644 --- a/lib/libc/stdlib/malloc.3 +++ b/lib/libc/stdlib/malloc.3 @@ -36,7 +36,7 @@ .\" @(#)malloc.3 8.1 (Berkeley) 6/4/93 .\" $FreeBSD$ .\" -.Dd August 27, 1996 +.Dd August 19, 2004 .Dt MALLOC 3 .Os .Sh NAME @@ -120,13 +120,12 @@ is valid and unchanged. If memory can be allocated, the memory referenced by .Fa ptr is freed and a pointer to the newly allocated memory is returned. -Note that the return value may differ from the -.Fa ptr -argument, that is +Note that .Fn realloc and .Fn reallocf -may move the memory. +may move the memory allocation resulting in a different return value than +.Fa ptr . If .Fa ptr is -- cgit v1.1