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