OSDN Git Service

LDP: Update original to LDP v3.79
[linuxjm/LDP_man-pages.git] / original / man3 / malloc_get_state.3
index bafbae5..d5e94dc 100644 (file)
@@ -1,5 +1,6 @@
 .\" Copyright (c) 2012 by Michael Kerrisk <mtk.manpages@gmail.com>
 .\"
+.\" %%%LICENSE_START(VERBATIM)
 .\" Permission is granted to make and distribute verbatim copies of this
 .\" manual provided the copyright notice and this permission notice are
 .\" preserved on all copies.
 .\"
 .\" Formatted or processed versions of this manual, if unaccompanied by
 .\" the source, must acknowledge the copyright and authors of this work.
+.\" %%%LICENSE_END
 .\"
-.TH MALLOC_GET_STATE 3 2012-03-26 "GNU" "Linux Programmer's Manual"
+.TH MALLOC_GET_STATE 3 2014-06-13 "GNU" "Linux Programmer's Manual"
 .SH NAME
-get_malloc_state, set_malloc_state \- record and restore state of malloc implementation
+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);"
 
@@ -84,11 +86,11 @@ returns \-2.
 .SH CONFORMING TO
 These functions are GNU extensions.
 .SH NOTES
-These functions are especially useful when using this
+These functions are useful when using this
 .BR malloc (3)
 implementation as part of a shared library,
 and the heap contents are saved/restored via some other method.
-This technique is used by the GNU Emacs to implement its "dumping" function.
+This technique is used by GNU Emacs to implement its "dumping" function.
 
 Hook function pointers are never saved or restored by these
 functions, with two exceptions:
@@ -109,3 +111,12 @@ then the hooks are reset to 0.
 .SH SEE ALSO
 .BR malloc (3),
 .BR mallopt (3)
+.SH COLOPHON
+This page is part of release 3.79 of the Linux
+.I man-pages
+project.
+A description of the project,
+information about reporting bugs,
+and the latest version of this page,
+can be found at
+\%http://www.kernel.org/doc/man\-pages/.