nbd_get_request_block_size3
See if nbd_opt_go requests block size
Usage
#include <libnbd.h>int nbd_get_request_block_size (struct nbd_handle *h);
Overview
Return the state of the block size request flag on this handle.
Return value
This call returns a boolean value.
Errors
On error -1 is returned.
Refer to "ERROR HANDLING" in libnbd(3) for how to get further details of the error.
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_REQUEST_BLOCK_SIZE 1
Releases
3 releases since Debian 12 (Bookworm); the text changed 2 times.