summaryrefslogtreecommitdiff
path: root/doc/api/setjmp.rst
blob: c30e51c2b55d4d9adf0529c31d95aa1eb6fdc4e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
.. SPDX-License-Identifier: GPL-2.0-or-later

Long jump API
=============

.. kernel-doc:: include/setjmp.h
   :doc: Overview

.. kernel-doc:: include/setjmp.h
   :internal:

Example
-------

Here is an example showing how to use the a long jump functions and
initjmp() in particular:

.. literalinclude:: ../../test/lib/initjmp.c
   :language: c
   :linenos: