---
name: "nvme_get_features_lba_range"
section: "2"
platform: "linux"
package: "libnvme-dev"
version: "1.13-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/nvme_get_features_lba_range"
---

# nvme\_get\_features\_lba\_range(2)

Get LBA range feature

## NAME

nvme\_get\_features\_lba\_range - Get LBA range feature

## SYNOPSIS

**int nvme\_get\_features\_lba\_range** **(int fd** *,* **enum nvme\_get\_features\_sel sel** *,* **struct nvme\_lba\_range\_type \*data** *,* **\_\_u32 \*result** *);*

## ARGUMENTS

- fd

  File descriptor of nvme device

- sel

  Select which type of attribute to return, see *enum nvme\_get\_features\_sel*

- data

  User address of feature data, if applicable

- result

  The command completion result from CQE dword0

## DESCRIPTION

Deprecated: doesn't support specifying a NSID. Use **nvme\_get\_features\_lba\_range2** instead.

## RETURN

The nvme command status if a response was received (see *enum nvme\_status\_field*) or -1 with errno set otherwise.
