KTIME_ADD_NS

Section: Driver Basics (9)
Updated: February 2011
Index Return to Main Contents
 

NAME

ktime_add_ns - Add a scalar nanoseconds value to a ktime_t variable  

SYNOPSIS

ktime_t ktime_add_ns(const ktime_t kt, u64 nsec);
 

ARGUMENTS

kt

addend

nsec

the scalar nsec value to add
 

DESCRIPTION

Returns the sum of kt and nsec in ktime_t format  

COPYRIGHT