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

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


Syntax
------

.. code::

    #include <prtime.h>

    #define PR_NSEC_PER_MSEC 1000000UL