summaryrefslogtreecommitdiffstats
path: root/man3/malloc_trim.3
diff options
context:
space:
mode:
Diffstat (limited to 'man3/malloc_trim.3')
-rw-r--r--man3/malloc_trim.316
1 files changed, 8 insertions, 8 deletions
diff --git a/man3/malloc_trim.3 b/man3/malloc_trim.3
index 23677832b..90946bec1 100644
--- a/man3/malloc_trim.3
+++ b/man3/malloc_trim.3
@@ -20,9 +20,9 @@ The
.BR malloc_trim ()
function attempts to release free memory from the heap
(by calling
-.BR sbrk (2)
+.MR sbrk 2
or
-.BR madvise (2)
+.MR madvise 2
with suitable arguments).
.P
The
@@ -34,7 +34,7 @@ at the top of the heap (i.e., one page or less).
A nonzero argument can be used to maintain some trailing space
at the top of the heap in order to allow future allocations
to be made without having to extend the heap with
-.BR sbrk (2).
+.MR sbrk 2 .
.SH RETURN VALUE
The
.BR malloc_trim ()
@@ -44,7 +44,7 @@ or 0 if it was not possible to release any memory.
No errors are defined.
.SH ATTRIBUTES
For an explanation of the terms used in this section, see
-.BR attributes (7).
+.MR attributes 7 .
.TS
allbox;
lbx lb lb
@@ -62,7 +62,7 @@ GNU.
glibc 2.0.
.SH NOTES
Only the main heap (using
-.BR sbrk (2))
+.MR sbrk 2 )
honors the
.I pad
argument; thread heaps do not.
@@ -76,6 +76,6 @@ chunks with whole free pages.
Before glibc 2.8 this function only freed memory at the
top of the heap in the main arena.
.SH SEE ALSO
-.BR sbrk (2),
-.BR malloc (3),
-.BR mallopt (3)
+.MR sbrk 2 ,
+.MR malloc 3 ,
+.MR mallopt 3