pr_intervaltoseconds.rst (481B)
1 PR_IntervalToSeconds 2 ==================== 3 4 Converts platform-dependent intervals to standard clock seconds. 5 6 7 Syntax 8 ------ 9 10 .. code:: 11 12 #include <prinrval.h> 13 14 PRUint32 PR_IntervalToSeconds(PRIntervalTime ticks); 15 16 17 Parameter 18 ~~~~~~~~~ 19 20 ``ticks`` 21 The number of platform-dependent intervals to convert. 22 23 24 Returns 25 ~~~~~~~ 26 27 Equivalent in seconds of the value passed in the ``ticks`` parameter. 28 29 30 Description 31 ----------- 32 33 Conversion may cause overflow, which is not reported.