libnvme_path_get_grpid(9) libnvme API manual libnvme_path_get_grpid(9)

libnvme_path_get_grpid - Get grpid.

int libnvme_path_get_grpid (const struct libnvme_path *p , int *grpid , int dflt );

The struct libnvme_path instance to query.
Where to store the value on success.
Value to store in grpid on failure.

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

libnvme_path_get_grpid October 2026