mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-08-14 03:06:59 +02:00
Test the initjmp() function when HAVE_INITJMP is set. Use the test as an example in the API documentation. Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
21 lines
360 B
ReStructuredText
21 lines
360 B
ReStructuredText
.. 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:
|