---
name: "libnvme_subsystem_get_sysfs_dir-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_subsystem_get_sysfs_dir-libnvme3"
---

# libnvme\_subsystem\_get\_sysfs\_dir-libnvme3(2)

Get sysfs\_dir.

## NAME

libnvme\_subsystem\_get\_sysfs\_dir - Get sysfs\_dir.

## SYNOPSIS

**const char \* libnvme\_subsystem\_get\_sysfs\_dir** **(const struct libnvme\_subsystem \*p** *);*

## ARGUMENTS

- p

  The *struct libnvme\_subsystem* instance to query.

## RETURN

The value of the sysfs\_dir field, or NULL if not set.
