test: lib: add initjmp() test
authorJerome Forissier <jerome.forissier@linaro.org>
Fri, 18 Apr 2025 14:09:33 +0000 (16:09 +0200)
committerTom Rini <trini@konsulko.com>
Wed, 23 Apr 2025 19:19:44 +0000 (13:19 -0600)
commitb989f9ed9fe13be2cb168d2d45c235f011104f38
tree76459f56909778c556fba1b21a2eb38de22c8618
parenta27844cc9443341ffe1314ccc4c384a54ad1ae32
test: lib: add initjmp() test

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>
doc/api/setjmp.rst
test/lib/Makefile
test/lib/initjmp.c [new file with mode: 0644]