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

# nvme\_directive\_send(2)

Send directive command

## NAME

nvme\_directive\_send - Send directive command

## SYNOPSIS

**int nvme\_directive\_send** **(struct nvme\_directive\_send\_args \*args** *);*

## ARGUMENTS

- args

  *struct nvme\_directive\_send\_args* argument structure

## DESCRIPTION

Directives is a mechanism to enable host and NVM subsystem or controller information exchange. The Directive Send command transfers data related to a specific Directive Type from the host to the controller.

See the NVMe specification for more information.

## RETURN

The nvme command status if a response was received (see *enum nvme\_status\_field*) or -1 with errno set otherwise.
