aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2019-04-12 11:42:32 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2019-04-14 19:12:34 +0200
commit09358e73ef56d5b6b9ad368f6c9358b2414b946a (patch)
tree96c17410cf37ada8d81901d2030a166857cd793b
parent0deebbe52415e2c85d53902613e51a7b01ea867a (diff)
downloadman-pages-09358e73ef56d5b6b9ad368f6c9358b2414b946a.tar.gz
malloc_trim.3: Minor fixes to Carlos's patch
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man3/malloc_trim.36
1 files changed, 4 insertions, 2 deletions
diff --git a/man3/malloc_trim.3 b/man3/malloc_trim.3
index dd73fe631f..a213fd9152 100644
--- a/man3/malloc_trim.3
+++ b/man3/malloc_trim.3
@@ -85,8 +85,10 @@ in
.BR mallopt (3).
.PP
Only the main heap (using
-.BR sbrk (2)
-) honors the pad argument; thread heaps do not.
+.BR sbrk (2))
+honors the
+.I pad
+argument; thread heaps do not.
.PP
Since glibc 2.8 this function frees memory in all arenas and in all
chunks with whole free pages.