.TH "libnvme_exec_admin_passthru" 2 "libnvme_exec_admin_passthru" "October 2026" "libnvme API manual" LINUX
.SH NAME
libnvme_exec_admin_passthru \- Submit an admin passthru command and wait
.SH SYNOPSIS
.B "int" libnvme_exec_admin_passthru
.BI "(struct libnvme_transport_handle *hdl "  ","
.BI "struct libnvme_passthru_cmd *cmd "  ");"
.SH ARGUMENTS
.IP "hdl" 12
Transport handle
.IP "cmd" 12
The nvme admin command to send
.SH "DESCRIPTION"
Synchronous command execution.
.SH "RETURN"
The nvme command status if a response was received (see
\fIenum nvme_status_field\fP), or negative error code otherwise.
