1KTIME_TO_TIMESPEC_CO(9)          Driver Basics         KTIME_TO_TIMESPEC_CO(9)
2
3
4

NAME

6       ktime_to_timespec_cond - convert a ktime_t variable to timespec format
7       only if the variable contains data
8

SYNOPSIS

10       bool ktime_to_timespec_cond(const ktime_t kt, struct timespec * ts);
11

ARGUMENTS

13       kt
14           the ktime_t variable to convert
15
16       ts
17           the timespec variable to store the result in
18

DESCRIPTION

20       Returns true if there was a successful conversion, false if kt was 0.
21
23Kernel Hackers Manual 3.10         June 2019           KTIME_TO_TIMESPEC_CO(9)
Impressum