summaryrefslogtreecommitdiffstats
path: root/doc/man/nvme_directive_send.2
blob: 9fad9ef81726d0506c6849b2c389afb85b2f9ad2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
.TH "nvme_directive_send" 9 "nvme_directive_send" "August 2022" "libnvme API manual" LINUX
.SH NAME
nvme_directive_send \- Send directive command
.SH SYNOPSIS
.B "int" nvme_directive_send
.BI "(struct nvme_directive_send_args *args "  ");"
.SH ARGUMENTS
.IP "args" 12
\fIstruct nvme_directive_send_args\fP argument structure
.SH "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.
.SH "RETURN"
The nvme command status if a response was received (see
\fIenum nvme_status_field\fP) or -1 with errno set otherwise.