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

# nvme\_update\_config(2)

Update JSON configuration

## NAME

nvme\_update\_config - Update JSON configuration

## SYNOPSIS

**int nvme\_update\_config** **(nvme\_root\_t r** *);*

## ARGUMENTS

- r

  nvme\_root\_t object

## DESCRIPTION

Updates the JSON configuration file with the contents of *r*.

## RETURN

0 on success, -1 on failure.
