passfd: give nicer error for recvfd at eof
[gnulib.git] / doc / posix-functions / malloc.texi
index a8ab879..36edb52 100644 (file)
@@ -2,7 +2,7 @@
 @section @code{malloc}
 @findex malloc
 
-POSIX specification: @url{http://www.opengroup.org/onlinepubs/9699919799/functions/malloc.html}
+POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/malloc.html}
 
 Gnulib module: malloc-posix
 
@@ -11,12 +11,15 @@ Portability problems fixed by Gnulib:
 @item
 Upon failure, the function does not set @code{errno} to @code{ENOMEM} on
 some platforms:
-mingw.
+mingw, MSVC 9.
 @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} that substitutes a
-@code{malloc} implementation that behaves more like the glibc implementation.
+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)}.