summaryrefslogtreecommitdiffstats
path: root/doc/man/nvme_ctrl_reset.2
blob: 49121717ff7d7988508ef65694fe68bd07746e72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
.TH "nvme_ctrl_reset" 9 "nvme_ctrl_reset" "April 2022" "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.