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