Commit Graph

3 Commits (a0323579ac50b9a9d4033754d089f1fed0f59a00)

Author SHA1 Message Date
Ariadne Conill 5445f70157 tests: libucontext_posix: quiet compiler warning on glibc 2024-08-07 17:57:16 -07:00
Volker Christian 076e69c9c1 libucontext: Add error checking
Add error checking test_libucontext and test_libucontext_posix
to test return values of get/set/swapcontext.

Modifications are inspired by the example program source in the
linux man page of swapcontext

Signed-off-by: Volker Christian <me@vchrist.at>
2024-08-07 17:43:55 -07:00
Ariadne Conill 634145cc40 add libucontext_posix test program 2020-12-09 01:40:12 +00:00