---
name: "nvme_ctrl_reset"
section: "2"
platform: "linux"
package: "libnvme-dev"
version: "1.13-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/nvme_ctrl_reset"
---

# nvme\_ctrl\_reset(2)

Initiate a controller reset

## NAME

nvme\_ctrl\_reset - Initiate a controller reset

## SYNOPSIS

**int nvme\_ctrl\_reset** **(int fd** *);*

## ARGUMENTS

- fd

  File descriptor of nvme device

## DESCRIPTION

This should only be sent to controller handles, not to namespaces.

## RETURN

0 if a reset was initiated or -1 with errno set otherwise.
