summaryrefslogtreecommitdiffstats
path: root/docs/nspr/reference/pr_usec_per_msec.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/nspr/reference/pr_usec_per_msec.rst')
-rw-r--r--docs/nspr/reference/pr_usec_per_msec.rst16
1 files changed, 16 insertions, 0 deletions
diff --git a/docs/nspr/reference/pr_usec_per_msec.rst b/docs/nspr/reference/pr_usec_per_msec.rst
new file mode 100644
index 0000000000..afed88bd57
--- /dev/null
+++ b/docs/nspr/reference/pr_usec_per_msec.rst
@@ -0,0 +1,16 @@
+PR_USEC_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
+microseconds in a millisecond.
+
+
+Syntax
+------
+
+.. code::
+
+ #include <prtime.h>
+
+ #define PR_USEC_PER_MSEC 1000UL