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

# nvme\_set\_features\_timestamp(2)

Set timestamp feature

## NAME

nvme\_set\_features\_timestamp - Set timestamp feature

## SYNOPSIS

**int nvme\_set\_features\_timestamp** **(int fd** *,* **bool save** *,* **\_\_u64 timestamp** *);*

## ARGUMENTS

- fd

  File descriptor of nvme device

- save

  Save value across power states

- timestamp

  The current timestamp value to assign to this feature

## RETURN

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