From f1d01de4c8c8151b19cdccebfe923e4592f9066c Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Tue, 31 Aug 2021 03:25:58 +0200 Subject: [PATCH] malloc.3: wfix Signed-off-by: Michael Kerrisk --- man3/malloc.3 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/man3/malloc.3 b/man3/malloc.3 index b558c18ae..7c21d6fc5 100644 --- a/man3/malloc.3 +++ b/man3/malloc.3 @@ -129,7 +129,8 @@ function changes the size of the memory block pointed to by to .I size bytes. -The contents will be unchanged in the range from the start of the region +The contents of the memory +will be unchanged in the range from the start of the region up to the minimum of the old and new sizes. If the new size is larger than the old size, the added memory will .I not