nbd_get_pread_initialize3
See whether libnbd pre-initializes read buffers
Usage
#include <libnbd.h>int nbd_get_pread_initialize (struct nbd_handle *h);
Overview
Return whether libnbd performs a pre-initialization of a buffer passed to nbd_pread(3) and similar to all zeroes, as set by nbd_set_pread_initialize(3).
Return value
This call returns a boolean value.
Errors
This function does not fail.
The following parameters must not be NULL: "h". For more information see "Non-NULL parameters" in libnbd(3).
Version
This function first appeared in libnbd 1.12.
If you need to test if this function is available at compile time check if the following macro is defined:
#define LIBNBD_HAVE_NBD_GET_PREAD_INITIALIZE 1
Releases
3 releases since Debian 12 (Bookworm); the text changed 2 times.