Reference

libnvme_path_get_grpid-libnvme3(2)

Get grpid.

NAME

libnvme_path_get_grpid - Get grpid.

SYNOPSIS

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

ARGUMENTS

p

The struct libnvme_path instance to query.

grpid

Where to store the value on success.

dflt

Value to store in grpid on failure.

RETURN

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