OSDN Git Service

(split) LDP: Update original to LDP v3.65
[linuxjm/LDP_man-pages.git] / original / man3 / malloc_info.3
index e131b63..f9c4cc0 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.
@@ -19,8 +20,9 @@
 .\"
 .\" 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_INFO 3  2012-04-28 "GNU" "Linux Programmer's Manual"
+.TH MALLOC_INFO 3  2013-04-19 "GNU" "Linux Programmer's Manual"
 .SH NAME
 malloc_info \- export malloc state to a stream
 .SH SYNOPSIS
@@ -47,14 +49,16 @@ must be zero.
 On success,
 .BR malloc_info ()
 returns 0;
-on error, it returns \-1.
+on error, it returns \-1, with
+.I errno
+set to indicate the cause.
 .SH ERRORS
 .TP
 .B EINVAL
 .I options
 was nonzero.
 .SH VERSIONS
-.BR malloc_info (3)
+.BR malloc_info ()
 was added to glibc in version 2.10.
 .SH CONFORMING TO
 This function is a GNU extension.
@@ -255,3 +259,11 @@ main(int argc, char *argv[])
 .BR malloc_stats (3),
 .BR mallopt (3),
 .BR open_memstream (3)
+.SH COLOPHON
+This page is part of release 3.65 of the Linux
+.I man-pages
+project.
+A description of the project,
+and information about reporting bugs,
+can be found at
+\%http://www.kernel.org/doc/man\-pages/.