Reference

libnvme_ctrl_get_numa_node-libnvme3(2)

Get numa_node.

NAME

libnvme_ctrl_get_numa_node - Get numa_node.

SYNOPSIS

int libnvme_ctrl_get_numa_node (const struct libnvme_ctrl *p , const char **numa_node , const char *dflt );

ARGUMENTS

p

The struct libnvme_ctrl instance to query.

numa_node

Where to store the value on success.

dflt

Value to store in numa_node on failure.

RETURN

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