| libnvmf_kernel_option_supported(9) | libnvme API manual | libnvmf_kernel_option_supported(9) |
NAME
libnvmf_kernel_option_supported - Check if the kernel supports an option
SYNOPSIS
int libnvmf_kernel_option_supported (struct libnvme_global_ctx *ctx , const char *name , bool *supported );
ARGUMENTS
DESCRIPTION
The options are read from /dev/nvme-fabrics once per ctx. The read blocks while another process connects a controller.
RETURN
0 on success, -EINVAL if an argument is NULL, -EOPNOTSUPP if the kernel does not list its options (Linux < 5.17), or another negative error code.
| libnvmf_kernel_option_supported | October 2026 |