Lines Matching full:calloc
0 # calloc.m4 serial 15
10 # Determine whether calloc (N, S) returns non-NULL when N*S is zero,
12 # If so, define HAVE_CALLOC. Otherwise, define calloc to rpl_calloc
13 # and arrange to use a calloc wrapper function that does work in that case.
17 # If 'calloc (0, 0)' is properly handled, run IF-WORKS, otherwise, IF-NOT.
22 AC_CACHE_CHECK([for GNU libc compatible calloc],
28 if (!calloc (0, 0))
30 if (calloc ((size_t) -1 / 8 + 1, 8))
56 # Report whether 'calloc (0, 0)' is properly handled, and replace calloc if
63 [Define to 1 if your system has a GNU libc compatible 'calloc'
73 # Test whether 'calloc' is POSIX compliant (sets errno to ENOMEM when it
74 # fails), and replace calloc if it is not.
81 [Define if the 'calloc' function is POSIX compliant.])