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