summaryrefslogtreecommitdiffstats
path: root/doc/man/nvme_ns_attach.2
blob: cea24a4ea881203a05c417db6b618ecaa44d8f09 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
.TH "nvme_ns_attach" 9 "nvme_ns_attach" "February 2024" "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.