summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/stdlib')
-rw-r--r--lib/libc/stdlib/malloc.34
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libc/stdlib/malloc.3 b/lib/libc/stdlib/malloc.3
index a8690c7..2ce7e0f 100644
--- a/lib/libc/stdlib/malloc.3
+++ b/lib/libc/stdlib/malloc.3
@@ -117,6 +117,10 @@ is returned and
the memory referenced by
.Fa ptr
is valid and unchanged.
+If memory can be allocated a pointer to the newly allocated portion of
+the memory is returned. Note that this may be different from the value
+passed as
+.Fa ptr .
If
.Fa ptr
is
OpenPOWER on IntegriCloud