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

NAME

6       ktime_to_timespec64_cond - convert a ktime_t variable to timespec64
7       format only if the variable contains data
8

SYNOPSIS

10       __must_check bool ktime_to_timespec64_cond(const ktime_t kt,
11                                                  struct timespec64 * ts);
12

ARGUMENTS

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

RETURN

21       true if there was a successful conversion, false if kt was 0.
22
24Kernel Hackers Manual 2.6.         June 2019           KTIME_TO_TIMESPEC64_(9)
Impressum