summaryrefslogtreecommitdiffstats
path: root/docs/nspr/reference/pr_processexit.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/nspr/reference/pr_processexit.rst')
-rw-r--r--docs/nspr/reference/pr_processexit.rst23
1 files changed, 23 insertions, 0 deletions
diff --git a/docs/nspr/reference/pr_processexit.rst b/docs/nspr/reference/pr_processexit.rst
new file mode 100644
index 0000000000..862e48bb5e
--- /dev/null
+++ b/docs/nspr/reference/pr_processexit.rst
@@ -0,0 +1,23 @@
+PR_ProcessExit
+==============
+
+Causes an immediate, nongraceful, forced termination of the process.
+
+
+Syntax
+------
+
+.. code::
+
+ #include <prinit.h>
+
+ void PR_ProcessExit(PRIntn status);
+
+
+Parameter
+~~~~~~~~~
+
+:ref:`PR_ProcessExit` has one parameter:
+
+status
+ The exit status code of the process.