]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
malloc_get_state.3: SYNOPSIS: use correct header
authorRasmus Villemoes <rv@rasmusvillemoes.dk>
Wed, 4 Jun 2014 14:38:37 +0000 (16:38 +0200)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Wed, 4 Jun 2014 18:54:53 +0000 (20:54 +0200)
The nonstandard functions malloc_set_state() and
malloc_get_state() are provided by <malloc.h> not <stdlib.h>.

Signed-off-by: Rasmus Villemoes <rv@rasmusvillemoes.dk>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man3/malloc_get_state.3

index cea14c48bf74dc0e2511f1977ff52c437152ad92..5da546d0958596081d23ce59389ff0d1dc7da933 100644 (file)
@@ -27,7 +27,7 @@
 malloc_get_state, malloc_set_state \- record and restore state of malloc implementation
 .SH SYNOPSIS
 .nf
-.B #include <stdlib.h>
+.B #include <malloc.h>
 .sp
 .BI "void* malloc_get_state(void);"