Update release-README after completing the 2.43 release.
[binutils-gdb.git] / sim / testsuite / cris / c / exitg1.c
blobacaad922e4b16e9e8950181f894bd130a3cd1d15
1 /* Check exit_group(2) trivially. Newlib doesn't have it and the
2 pre-v32 glibc requires updated headers we'd have to check or adjust
3 for.
4 #progos: linux
5 #output: exit_group\n
6 */
7 #include <unistd.h>
8 #include <sys/syscall.h>
9 #include <stdio.h>
10 #include <stdlib.h>
11 #ifndef EXITVAL
12 #define EXITVAL 0
13 #endif
14 int main (int argc, char **argv)
16 printf ("exit_group\n");
17 syscall (SYS_exit_group, EXITVAL);
18 printf ("failed\n");
19 abort ();