summaryrefslogtreecommitdiff
path: root/doc/posix-functions/calloc.texi
blob: 41255ace0d17fdcdf4f73dd01ecaa90903654faf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
@node calloc
@section @code{calloc}
@findex calloc

POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/calloc.html}

Gnulib module: calloc-posix

Portability problems fixed by Gnulib:
@itemize
@item
Upon failure, the function does not set @code{errno} to @code{ENOMEM} on
some platforms:
mingw, MSVC 14.
@end itemize

Portability problems not fixed by Gnulib:
@itemize
@end itemize

Extension: Gnulib provides a module @samp{calloc-gnu} that substitutes a
@code{calloc} implementation that behaves more like the glibc implementation.