summaryrefslogtreecommitdiffstats
path: root/doc/man/nvme_ns_attach.2
blob: 9f88cdcccc586b1c3ee87a6c80eb8a384d2a64a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
.TH "nvme_ns_attach" 9 "nvme_ns_attach" "August 2022" "libnvme API manual" LINUX
.SH NAME
nvme_ns_attach \- Attach or detach namespace to controller(s)
.SH SYNOPSIS
.B "int" nvme_ns_attach
.BI "(struct nvme_ns_attach_args *args "  ");"
.SH ARGUMENTS
.IP "args" 12
\fIstruct nvme_ns_attach_args\fP Argument structure
.SH "RETURN"
The nvme command status if a response was received (see
\fIenum nvme_status_field\fP) or -1 with errno set otherwise.