summaryrefslogtreecommitdiff
path: root/lib/libc/stdlib
diff options
context:
space:
mode:
authorAlfred Perlstein <alfred@FreeBSD.org>2004-08-18 21:13:15 +0000
committerAlfred Perlstein <alfred@FreeBSD.org>2004-08-18 21:13:15 +0000
commit09a12d75cf5a571272ecda50cd7ee39628a73666 (patch)
tree78a4e381d7074d0391b999df4502a06a716a504b /lib/libc/stdlib
parent9a8bd51965ce7e3bf173c94c869f812426c7de7a (diff)
Notes
Diffstat (limited to 'lib/libc/stdlib')
-rw-r--r--lib/libc/stdlib/malloc.310
1 files changed, 7 insertions, 3 deletions
diff --git a/lib/libc/stdlib/malloc.3 b/lib/libc/stdlib/malloc.3
index d1f081b908de..c32827dd6925 100644
--- a/lib/libc/stdlib/malloc.3
+++ b/lib/libc/stdlib/malloc.3
@@ -120,9 +120,13 @@ 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 this may be different from the value
-passed as
-.Fa ptr .
+Note that the return value may differ from the
+.Fa ptr
+argument, that is
+.Fn realloc
+and
+.Fn reallocf
+may move the memory.
If
.Fa ptr
is