other versions
- jessie 3.16.56-1+deb8u1
KTIME_TO_TIMESPEC_CO(9) | Driver Basics | KTIME_TO_TIMESPEC_CO(9) |
NAME¶
ktime_to_timespec_cond - convert a ktime_t variable to timespec format only if the variable contains dataSYNOPSIS¶
bool
ktime_to_timespec_cond(const ktime_t kt,
struct timespec * ts);
ARGUMENTS¶
ktthe 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 2018 | Kernel Hackers Manual 3.16 |