Reference

libnvme_host_release_fds-libnvme3(2)

Close all opened file descriptors under host

NAME

libnvme_host_release_fds - Close all opened file descriptors under host

SYNOPSIS

void libnvme_host_release_fds (struct libnvme_host *h );

ARGUMENTS

h

struct libnvme_host object

DESCRIPTION

Controller and Namespace objects cache the file descriptors of opened nvme devices. This API can be used to close and clear all cached fds under this host.