'\" t .\" Title: ktime_to_timespec64_cond .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: Driver Basics .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "KTIME_TO_TIMESPEC64_" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "Driver Basics" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" ktime_to_timespec64_cond \- convert a ktime_t variable to timespec64 format only if the variable contains data .SH "SYNOPSIS" .HP \w'bool\ ktime_to_timespec64_cond('u .BI "bool ktime_to_timespec64_cond(const\ ktime_t\ " "kt" ", struct\ timespec64\ *\ " "ts" ");" .SH "ARGUMENTS" .PP \fIkt\fR .RS 4 the ktime_t variable to convert .RE .PP \fIts\fR .RS 4 the timespec variable to store the result in .RE .SH "RETURN" .PP \fBtrue\fR if there was a successful conversion, \fBfalse\fR if kt was 0\&. .SH "COPYRIGHT" .br