summaryrefslogtreecommitdiffstats
path: root/docs/nspr/reference/pr_msec_per_sec.rst
blob: 86cabb124aa11011667c8644e26cd51280506b0c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
PR_MSEC_PER_SEC
===============

A convenience macro to improve code readability as well as to avoid
mistakes in counting the number of zeros; represents the number of
milliseconds in a second.


Syntax
------

.. code::

    #include <prtime.h>

    #define PR_MSEC_PER_SEC  1000UL