Commit Graph

3 Commits (1675e1910186cfee6461e6856fec4fc44e474739)

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