Reference

libnvme_refresh_topology-libnvme3(2)

Refresh libnvme_root_t object contents

NAME

libnvme_refresh_topology - Refresh libnvme_root_t object contents

SYNOPSIS

int libnvme_refresh_topology (struct libnvme_global_ctx *ctx );

ARGUMENTS

ctx

struct libnvme_global_ctx object

DESCRIPTION

Removes all elements in r and rescans the existing topology.

RETURN

0 on success, negative error code otherwise.