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

# libnvmf\_context\_set\_tos-libnvme3(2)

Set tos.

## NAME

libnvmf\_context\_set\_tos - Set tos.

## SYNOPSIS

**void libnvmf\_context\_set\_tos** **(struct libnvmf\_context \*p** *,* **int tos** *);*

## ARGUMENTS

- p

  The *struct libnvmf\_context* instance to update.

- tos

  Value to assign to the tos field.
