---
name: "libnvme_ctrl_get_trsvcid-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/libnvme_ctrl_get_trsvcid-libnvme3"
---

# libnvme\_ctrl\_get\_trsvcid-libnvme3(2)

Get trsvcid.

## NAME

libnvme\_ctrl\_get\_trsvcid - Get trsvcid.

## SYNOPSIS

**const char \* libnvme\_ctrl\_get\_trsvcid** **(const struct libnvme\_ctrl \*p** *);*

## ARGUMENTS

- p

  The *struct libnvme\_ctrl* instance to query.

## RETURN

The value of the trsvcid field, or NULL if not set.
