libnvme_realloc(9) libnvme API manual libnvme_realloc(9) NAME libnvme_realloc - Resize an allocated memory buffer SYNOPSIS void * libnvme_realloc (void *p , size_t len ); ARGUMENTS p Existing memory buffer to resize len New size in bytes DESCRIPTION Resizes the memory buffer referenced by p to len bytes. The returned buffer may be relocated. On successful expansion, any newly allocated portion of the buffer is zero-initialized. If p is NULL, this function behaves like libnvme_alloc. RETURN Pointer to the resized memory buffer on success, or NULL on failure. On failure, the original buffer referenced by p remains valid and unchanged. October 2026 libnvme_realloc libnvme_realloc(9)