libnvme_ctrl_get_serial(9) libnvme API manual libnvme_ctrl_get_serial(9) NAME libnvme_ctrl_get_serial - Get serial. SYNOPSIS int libnvme_ctrl_get_serial (const struct libnvme_ctrl *p , const char **serial , const char *dflt ); ARGUMENTS p The struct libnvme_ctrl instance to query. serial Where to store the value on success. dflt Value to store in serial on failure. RETURN 0 on success, -ENOENT if the attribute does not exist, or a negative errno on failure. October 2026 libnvme_ctrl_get_serial libnvme_ctrl_get_serial(9)