summaryrefslogtreecommitdiffstats
path: root/doc/man/nvme_ctrl_reset.2
blob: 9d8e129b152324f30e7a8d823a31dcc1814d12e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
.TH "nvme_ctrl_reset" 9 "nvme_ctrl_reset" "January 2023" "libnvme API manual" LINUX
.SH NAME
nvme_ctrl_reset \- Initiate a controller reset
.SH SYNOPSIS
.B "int" nvme_ctrl_reset
.BI "(int fd "  ");"
.SH ARGUMENTS
.IP "fd" 12
File descriptor of nvme device
.SH "DESCRIPTION"
This should only be sent to controller handles, not to namespaces.
.SH "RETURN"
0 if a reset was initiated or -1 with errno set otherwise.