summaryrefslogtreecommitdiffstats
path: root/docs/nspr/reference/pr_processexit.rst
blob: 862e48bb5e3f2764b8d2044dfe6b4e5149d3a04a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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.