summaryrefslogtreecommitdiffstats
path: root/docs/nspr/reference/pr_msec_per_sec.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/nspr/reference/pr_msec_per_sec.rst')
-rw-r--r--docs/nspr/reference/pr_msec_per_sec.rst16
1 files changed, 16 insertions, 0 deletions
diff --git a/docs/nspr/reference/pr_msec_per_sec.rst b/docs/nspr/reference/pr_msec_per_sec.rst
new file mode 100644
index 0000000000..86cabb124a
--- /dev/null
+++ b/docs/nspr/reference/pr_msec_per_sec.rst
@@ -0,0 +1,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