summaryrefslogtreecommitdiffstats
path: root/man3/mcheck.3
diff options
context:
space:
mode:
Diffstat (limited to 'man3/mcheck.3')
-rw-r--r--man3/mcheck.316
1 files changed, 8 insertions, 8 deletions
diff --git a/man3/mcheck.3 b/man3/mcheck.3
index e3cfe5830..0d2382e0c 100644
--- a/man3/mcheck.3
+++ b/man3/mcheck.3
@@ -23,7 +23,7 @@ Standard C library
The
.BR mcheck ()
function installs a set of debugging hooks for the
-.BR malloc (3)
+.MR malloc 3
family of memory-allocation functions.
These hooks cause certain consistency checks to be performed
on the state of the heap.
@@ -34,7 +34,7 @@ that immediately precede a block of allocated memory.
To be effective, the
.BR mcheck ()
function must be called before the first call to
-.BR malloc (3)
+.MR malloc 3
or a related function.
In cases where this is difficult to ensure, linking the program with
.I \-lmcheck
@@ -69,7 +69,7 @@ If
is NULL, a default function prints an error message on
.I stderr
and calls
-.BR abort (3).
+.MR abort 3 .
.P
The
.BR mprobe ()
@@ -115,7 +115,7 @@ and
return 0 on success, or \-1 on error.
.SH ATTRIBUTES
For an explanation of the terms used in this section, see
-.BR attributes (7).
+.MR attributes 7 .
.TS
allbox;
lbx lb lb
@@ -154,7 +154,7 @@ Linking a program with
and using the
.B MALLOC_CHECK_
environment variable (described in
-.BR mallopt (3))
+.MR mallopt 3 )
cause the same kinds of errors to be detected.
But, using
.B MALLOC_CHECK_
@@ -208,6 +208,6 @@ main(void)
.EE
.\" SRC END
.SH SEE ALSO
-.BR malloc (3),
-.BR mallopt (3),
-.BR mtrace (3)
+.MR malloc 3 ,
+.MR mallopt 3 ,
+.MR mtrace 3