6 <<calloc>>---allocate space for arrays
16 void *calloc(size_t <[n]>, size_t <[s]>);
17 void *_calloc_r(void *<[reent]>, size_t <[n]>, size_t <[s]>);
20 Use <<calloc>> to request a block of memory sufficient to hold an
21 array of <[n]> elements, each of which has size <[s]>.
23 The memory allocated by <<calloc>> comes out of the same memory pool
24 used by <<malloc>>, but the memory block is initialized to all zero
25 bytes. (To avoid the overhead of initializing the space, use
28 The alternate function <<_calloc_r>> is reentrant.
29 The extra argument <[reent]> is a pointer to a reentrancy structure.
32 If successful, a pointer to the newly allocated space.
34 If unsuccessful, <<NULL>>.
39 Supporting OS subroutines required: <<close>>, <<fstat>>, <<isatty>>,
40 <<lseek>>, <<read>>, <<sbrk>>, <<write>>.
52 return _calloc_r (_REENT
, n
, size
);
56 #endif /* MALLOC_PROVIDED */