.\" 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_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
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.
.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/.