avoid some overlong lines from posix urls, etc.
[gnulib.git] / doc / posix-functions / malloc.texi
1 @node malloc
2 @section @code{malloc}
3 @findex malloc
4
5 POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/malloc.html}
6
7 Gnulib module: malloc-posix
8
9 Portability problems fixed by Gnulib:
10 @itemize
11 @item
12 Upon failure, the function does not set @code{errno} to @code{ENOMEM} on
13 some platforms:
14 mingw.
15 @end itemize
16
17 Portability problems not fixed by Gnulib:
18 @itemize
19 @item @code{malloc (0)} always returns a NULL pointer on some platforms:
20 AIX 5.1, OSF/1 5.1.
21 @end itemize
22
23 Extension: Gnulib provides a module @samp{malloc} that substitutes a
24 @code{malloc} implementation that behaves more like the glibc implementation,
25 regarding the result of @code{malloc (0)}.