Scroll to navigation

libnvme_ctrl_get_cntrltype(2) libnvme API manual libnvme_ctrl_get_cntrltype(2)

NAME

libnvme_ctrl_get_cntrltype - Get cntrltype.

SYNOPSIS

int libnvme_ctrl_get_cntrltype (const struct libnvme_ctrl *p , const char **cntrltype , const char *dflt );

ARGUMENTS

The struct libnvme_ctrl instance to query.
Where to store the value on success.
Value to store in cntrltype on failure.

RETURN

0 on success, -ENOENT if the attribute does not exist, or a negative errno on failure.

libnvme_ctrl_get_cntrltype October 2026