kmem_zalloc(9) - NetBSD Manual Pages

KMEM_ZALLOC(9)         NetBSD Kernel Developer's Manual         KMEM_ZALLOC(9)


NAME
kmem_zalloc -- allocate zero-initialized kernel wired memory
SYNOPSIS
#include <sys/kmem.h> void * kmem_zalloc(size_t size, km_flag_t kmflags);
DESCRIPTION
kmem_zalloc() is the equivalent of kmem_alloc(), except that it initial- izes the memory to zero.
SEE ALSO
intro(9), kmem_alloc(9), kmem_free(9), memoryallocators(9)
CAVEATS
kmem_zalloc() can not be used from interrupt context. NetBSD 5.1.2 June 25, 2006 NetBSD 5.1.2

Powered by man-cgi (2024-08-26). Maintained for NetBSD by Kimmo Suominen. Based on man-cgi by Panagiotis Christias.