---
name: "ktime_add_ns"
section: "9"
platform: "linux"
package: "linux-manual-3.16"
version: "3.16.56-1+deb8u1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/ktime_add_ns"
---

# ktime\_add\_ns(9)

Add a scalar nanoseconds value to a ktime\_t variable

## NAME

ktime\_add\_ns - Add a scalar nanoseconds value to a ktime\_t variable

## SYNOPSIS

**ktime\_t ktime\_add\_ns(const ktime\_t** *kt***, u64** *nsec***);**

## ARGUMENTS

*kt*

addend

*nsec*

the scalar nsec value to add

## DESCRIPTION

Returns the sum of kt and nsec in ktime\_t format

## COPYRIGHT
