summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2004-08-19 16:34:31 +0000
committeralfred <alfred@FreeBSD.org>2004-08-19 16:34:31 +0000
commitb8726e60beb1706d11da3b1aa5f585c02cb03ed9 (patch)
tree3b82e867813a213fbdbb0771c2744e9ae4611d1b /lib/libc
parentaab2db1d75ca8ca57099592fb81a11b3dcb6daa6 (diff)
downloadFreeBSD-src-b8726e60beb1706d11da3b1aa5f585c02cb03ed9.zip
FreeBSD-src-b8726e60beb1706d11da3b1aa5f585c02cb03ed9.tar.gz
Reword recent addition about memory moving.
Requested by: keramida Bump .Dd Requested by: ru
Diffstat (limited to 'lib/libc')
-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 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
OpenPOWER on IntegriCloud