libnvme_alloc(9) libnvme API manual libnvme_alloc(9)

libnvme_alloc - Allocate zero-initialized memory

void * libnvme_alloc (size_t len );

Number of bytes to allocate

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

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

libnvme_alloc October 2026