Reference

libnvme_subsystem_get_firmware-libnvme3(2)

Get firmware.

NAME

libnvme_subsystem_get_firmware - Get firmware.

SYNOPSIS

int libnvme_subsystem_get_firmware (const struct libnvme_subsystem *p , const char **firmware , const char *dflt );

ARGUMENTS

p

The struct libnvme_subsystem instance to query.

firmware

Where to store the value on success.

dflt

Value to store in firmware on failure.

RETURN

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