summaryrefslogtreecommitdiffstats
path: root/docs/nspr/reference/pr_nsec_per_sec.rst
blob: 78ceb7b326c290ff58e3a1a7da389a8891747f7f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
PR_NSEC_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
nanoseconds in a second.


Syntax
------

.. code::

    #include <prtime.h>

    #define PR_NSEC_PER_SEC  1000000000UL