gecko-dev/docs/nspr/reference/pr_nsec_per_sec.rst

17 строки
293 B
ReStructuredText

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:: eval
#include <prtime.h>
#define PR_NSEC_PER_SEC 1000000000UL