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

# timeval\_to\_ktime(9)

convert a timeval to ktime\_t format

## NAME

timeval\_to\_ktime - convert a timeval to ktime\_t format

## SYNOPSIS

**ktime\_t timeval\_to\_ktime(const struct timeval** *tv***);**

## ARGUMENTS

*tv*

the timeval variable to convert

## RETURN

A ktime\_t variable with the converted timeval value.

## COPYRIGHT
