poll tests: Avoid test failure on BSD and Solaris systems.
[gnulib.git] / doc / posix-functions / calloc.texi
blob22c51be0236375f98e8f109e78a89547d4d74e36
1 @node calloc
2 @section @code{calloc}
3 @findex calloc
5 POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/calloc.html}
7 Gnulib module: calloc-posix
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, MSVC 14.
15 @end itemize
17 Portability problems not fixed by Gnulib:
18 @itemize
19 @end itemize
21 Extension: Gnulib provides a module @samp{calloc-gnu} that substitutes a
22 @code{calloc} implementation that behaves more like the glibc implementation.