Jerome Forissier | c632c15 | 2025-04-18 16:09:29 +0200 | [diff] [blame] | 1 | .. SPDX-License-Identifier: GPL-2.0-or-later |
2 | |||||
3 | Long jump API | ||||
4 | ============= | ||||
5 | |||||
6 | .. kernel-doc:: include/setjmp.h | ||||
7 | :doc: Overview | ||||
8 | |||||
9 | .. kernel-doc:: include/setjmp.h | ||||
10 | :internal: | ||||
Jerome Forissier | 1f89355 | 2025-04-18 16:09:33 +0200 | [diff] [blame] | 11 | |
12 | Example | ||||
13 | ------- | ||||
14 | |||||
15 | Here is an example showing how to use the a long jump functions and | ||||
16 | initjmp() in particular: | ||||
17 | |||||
18 | .. literalinclude:: ../../test/lib/initjmp.c | ||||
19 | :language: c | ||||
20 | :linenos: |