summaryrefslogtreecommitdiff
path: root/lib/libc/stdlib
diff options
context:
space:
mode:
authorGiorgos Keramidas <keramida@FreeBSD.org>2001-11-24 03:05:40 +0000
committerGiorgos Keramidas <keramida@FreeBSD.org>2001-11-24 03:05:40 +0000
commitfe1b3cedf947f9d773f43afabaea6719b82d0fbf (patch)
treedf4a5cbfb4da58abb31fe8caf06b8db5c57d6e8b /lib/libc/stdlib
parent31083dbb03aa64664885c9c25a836b2383c69878 (diff)
Notes
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 a8690c768c35..2ce7e0f4681f 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