Reference

libnvme_alloc-libnvme3(2)

Allocate zero-initialized memory

NAME

libnvme_alloc - Allocate zero-initialized memory

SYNOPSIS

void * libnvme_alloc (size_t len );

ARGUMENTS

len

Number of bytes to allocate

DESCRIPTION

Allocates len bytes of zero-initialized memory suitable for use by libnvme APIs.

RETURN

Pointer to the allocated memory on success, or NULL on failure.