aboutsummaryrefslogtreecommitdiffstats
path: root/man3/malloc.3
diff options
context:
space:
mode:
Diffstat (limited to 'man3/malloc.3')
-rw-r--r--man3/malloc.310
1 files changed, 5 insertions, 5 deletions
diff --git a/man3/malloc.3 b/man3/malloc.3
index 129cba9358..bce1fba9b8 100644
--- a/man3/malloc.3
+++ b/man3/malloc.3
@@ -82,7 +82,7 @@ which must have been returned by a previous call to
or
.BR realloc ().
Otherwise, or if
-.IR free(ptr)
+.I free(ptr)
has already been called before, undefined behavior occurs.
If
.I ptr
@@ -113,7 +113,7 @@ is NULL, it must have been returned by an earlier call to
or
.BR realloc ().
If the area pointed to was moved, a
-.IR free(ptr)
+.I free(ptr)
is done.
.SH "RETURN VALUE"
For
@@ -172,7 +172,7 @@ and
to set
.I errno
to
-.BR ENOMEM
+.B ENOMEM
upon failure.
Glibc assumes that this is done
(and the glibc versions of these routines do this); if you
@@ -196,7 +196,7 @@ include a
.BR malloc ()
implementation which is tunable via environment variables.
When
-.BR MALLOC_CHECK_
+.B MALLOC_CHECK_
is set, a special (less efficient) implementation is used which
is designed to be tolerant against simple errors, such as double
calls of
@@ -206,7 +206,7 @@ bugs).
Not all such errors can be protected against, however, and
memory leaks can result.
If
-.BR MALLOC_CHECK_
+.B MALLOC_CHECK_
is set to 0, any detected heap corruption is silently ignored;
if set to 1, a diagnostic message is printed on \fIstderr\fP;
if set to 2,