aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAlfred Perlstein <alfred@FreeBSD.org>2004-08-19 16:34:31 +0000
committerAlfred Perlstein <alfred@FreeBSD.org>2004-08-19 16:34:31 +0000
commit65da79c4bec6182ee7023d4b4d887229699c34be (patch)
tree3b82e867813a213fbdbb0771c2744e9ae4611d1b /lib
parent180ece11dca933e87a8ca18b9b508b9255437ef1 (diff)
downloadsrc-65da79c4bec6182ee7023d4b4d887229699c34be.tar.gz
src-65da79c4bec6182ee7023d4b4d887229699c34be.zip
Reword recent addition about memory moving.
Requested by: keramida Bump .Dd Requested by: ru
Notes
Notes: svn path=/head/; revision=134020
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/stdlib/malloc.39
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/libc/stdlib/malloc.3 b/lib/libc/stdlib/malloc.3
index c32827dd6925..d2916da20a16 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