ktime_to_timespec_cond(9)

ktime_to_timespec_cond9

Convert a ktime_t variable to timespec format only if the variable contains data

Usage

bool ktime_to_timespec_cond(const ktime_t kt, struct timespec * 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.

From linux-manual-3.16 3.16.56-1+deb8u1 in Debian 8 (Jessie). Parsed by carta from the page's man source.