---
name: "ktime_set"
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_set"
---

# ktime\_set(9)

Set a ktime\_t variable from a seconds/nanoseconds value

## NAME

ktime\_set - Set a ktime\_t variable from a seconds/nanoseconds value

## SYNOPSIS

**ktime\_t ktime\_set(const long** *secs***, const unsigned long** *nsecs***);**

## ARGUMENTS

*secs*

seconds to set

*nsecs*

nanoseconds to set

## RETURN

The ktime\_t representation of the value.

## COPYRIGHT
