---
name: "libnvme_reset_ctrl-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_reset_ctrl-libnvme3"
---

# libnvme\_reset\_ctrl-libnvme3(2)

Initiate a controller reset

## NAME

libnvme\_reset\_ctrl - Initiate a controller reset

## SYNOPSIS

**int libnvme\_reset\_ctrl** **(struct libnvme\_transport\_handle \*hdl** *);*

## ARGUMENTS

- hdl

  Transport handle

## DESCRIPTION

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

## RETURN

0 if a reset was initiated or negative error code otherwise.
