KTIME_TO_TIMESPEC64_(9) | Driver Basics | KTIME_TO_TIMESPEC64_(9) |
NAME¶
ktime_to_timespec64_cond - convert a ktime_t variable to timespec64 format only if the variable contains data
SYNOPSIS¶
__must_check bool ktime_to_timespec64_cond(const ktime_t kt, struct timespec64 * ts);
ARGUMENTS¶
kt
the ktime_t variable to convert
ts
the timespec variable to store the result in
RETURN¶
true if there was a successful conversion, false if kt was 0.
COPYRIGHT¶
May 2024 | Kernel Hackers Manual 2.6. |