nbd_get_opt_mode3
Return whether option mode was enabled
Usage
#include <libnbd.h>int nbd_get_opt_mode (struct nbd_handle *h);
Overview
Return true if option negotiation mode was enabled on this handle.
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.4.
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_OPT_MODE 1
Releases
4 releases since Debian 11 (Bullseye); the text changed 3 times.