summaryrefslogtreecommitdiff
path: root/man3/malloc_hook.3
diff options
context:
space:
mode:
Diffstat (limited to 'man3/malloc_hook.3')
-rw-r--r--man3/malloc_hook.36
1 files changed, 3 insertions, 3 deletions
diff --git a/man3/malloc_hook.3 b/man3/malloc_hook.3
index 791de777..dbd3ef39 100644
--- a/man3/malloc_hook.3
+++ b/man3/malloc_hook.3
@@ -73,7 +73,7 @@ The variable
points at a function that is called each time after
.BR sbrk (2)
was asked for more memory.
-.SH "CONFORMING TO"
+.SH CONFORMING TO
These functions are GNU extensions.
.SH NOTES
The use of these hook functions is not safe in multithreaded programs,
@@ -82,7 +82,7 @@ and they are now deprecated.
.\" http://sourceware.org/bugzilla/show_bug.cgi?id=9957
Programmers should instead preempt calls to the relevant functions
by defining and exporting functions such as "malloc" and "free".
-.SH "EXAMPLE"
+.SH EXAMPLE
Here is a short example of how to use these variables.
.sp
.nf
@@ -130,7 +130,7 @@ my_malloc_hook(size_t size, const void *caller)
return result;
}
.fi
-.SH "SEE ALSO"
+.SH SEE ALSO
.BR mallinfo (3),
.BR malloc (3),
.BR mcheck (3),