3 #include <sys/ucontext.h>
5 #include <ucontext_i.h>
13 #define TEST(member, val) \
15 if (offsetof (struct ucontext, member) != val) \
17 printf ("offsetof(%s) = %zu, %s = %zu\n", \
18 #member, offsetof (struct ucontext, member), \
19 #val, (size_t) val); \
29 printf ("%d errors in %d tests\n", nerrors
, ntests
);
34 #define TEST_FUNCTION do_test ()
35 #include "../test-skeleton.c"