Mercurial > hg > octave-nkf > gnulib-hg
view doc/posix-functions/malloc.texi @ 15481:847372253549
Documentation about Minix.
* doc/posix-headers/*.texi: Add info about Minix 3.1.8.
* doc/glibc-headers/*.texi: Likewise.
* doc/posix-functions/*.texi: Likewise.
* doc/glibc-functions/*.texi: Likewise.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sun, 31 Jul 2011 14:31:24 +0200 |
parents | 2009960fc420 |
children | 6355dc4626b5 |
line wrap: on
line source
@node malloc @section @code{malloc} @findex malloc POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/malloc.html} Gnulib module: malloc-posix Portability problems fixed by Gnulib: @itemize @item Upon failure, the function does not set @code{errno} to @code{ENOMEM} on some platforms: mingw. @end itemize Portability problems not fixed by Gnulib: @itemize @item @code{malloc (0)} always returns a NULL pointer on some platforms: AIX 5.1, OSF/1 5.1. @end itemize Extension: Gnulib provides a module @samp{malloc-gnu} that substitutes a @code{malloc} implementation that behaves more like the glibc implementation, regarding the result of @code{malloc (0)}.