libnvme_subsystem_get_model-libnvme32
Get model.
Usage
int libnvme_subsystem_get_model (const struct libnvme_subsystem *p , const char **model , const char *dflt );
Arguments
p
|
The struct libnvme_subsystem instance to query. |
|---|---|
model
|
Where to store the value on success. |
dflt
|
Value to store in model on failure. |
Return
0 on success, -ENOENT if the attribute does not exist, or a negative errno on failure.