kern_calloc(D3X)

kern_calloc - allocate storage for objects of a specified size

As shipped in IRIX 6.5.19. Unchanged since IRIX 6.5.

NAME
     kern_calloc - allocate storage for objects of a specified size

SYNOPSIS
     #include "sys/types.h"

     caddr_t
     kern_calloc(int n, int object_size);

DESCRIPTION
     kern_calloc allocates, and zeroes, storage for n objects of size
     object_size bytes. If necessary, the function sleeps until the entire
     requested memory is available. Therefore, do not call this function from
     an interrupt routine. The allocated space is aligned for the given object
     size.

   Return Values
     kern_calloc returns the pointer to the requested storage.

   See Also
     kern_malloc(D3X), kern_free(D3X), kmem_alloc(D3)