pr_secondstointerval.rst (453B)
1 PR_SecondsToInterval 2 ==================== 3 4 Converts standard clock seconds to platform-dependent intervals. 5 6 7 Syntax 8 ------ 9 10 .. code:: 11 12 #include <prinrval.h> 13 14 PRIntervalTime PR_SecondsToInterval(PRUint32 seconds); 15 16 17 Parameter 18 ~~~~~~~~~ 19 20 The function has the following parameter: 21 22 ``seconds`` 23 The number of seconds to convert to interval form. 24 25 26 Returns 27 ~~~~~~~ 28 29 Platform-dependent equivalent of the value passed in the ``seconds`` 30 parameter.