---
name: "nvme_init_directive_recv_stream_status-libnvme3"
section: "2"
platform: "linux"
package: "nvme-cli"
version: "3.2-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/nvme_init_directive_recv_stream_status-libnvme3"
---

# nvme\_init\_directive\_recv\_stream\_status-libnvme3(2)

Initialize passthru command for Directive Receive Stream Status

## NAME

nvme\_init\_directive\_recv\_stream\_status - Initialize passthru command for Directive Receive Stream Status

## SYNOPSIS

**int nvme\_init\_directive\_recv\_stream\_status** **(struct libnvme\_passthru\_cmd \*cmd** *,* **\_\_u32 nsid** *,* **unsigned int nr\_entries** *,* **struct nvme\_streams\_directive\_status \*id** *);*

## ARGUMENTS

- cmd

  Passthru command to use

- nsid

  Namespace ID

- nr\_entries

  Number of streams to receive

- id

  Stream status buffer

## DESCRIPTION

Initializes the passthru command buffer for the Directive Receive - Stream Status command.

## RETURN

0 on success, negative error code otherwise.
