---
name: "libnvme_host_release_fds-libnvme3"
section: "2"
platform: "linux"
package: "nvme-cli"
version: "3.2-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/libnvme_host_release_fds-libnvme3"
---

# 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.
