Scroll to navigation

libnvme_subsystem_get_serial(2) libnvme API manual libnvme_subsystem_get_serial(2)

NAME

libnvme_subsystem_get_serial - Get serial.

SYNOPSIS

int libnvme_subsystem_get_serial (const struct libnvme_subsystem *p , const char **serial , const char *dflt );

ARGUMENTS

The struct libnvme_subsystem instance to query.
Where to store the value on success.
Value to store in serial on failure.

RETURN

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

libnvme_subsystem_get_serial October 2026