repo.or.cz
/
binutils-gdb.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Update release-README after completing the 2.43 release.
[binutils-gdb.git]
/
sim
/
testsuite
/
cris
/
c
/
kill2.c
blob
0a79db0567a7f9227b43cb0612081aded118855f
1
/* Basic kill functionality test; suicide.
2
#xerror:
3
#output: program stopped with signal 6 (*).\n
4
*/
5
6
#include <stdio.h>
7
#include <stdlib.h>
8
#include <sys/types.h>
9
#include <signal.h>
10
#include <unistd.h>
11
12
int
13
main
(
void
)
14
{
15
kill
(
getpid
(),
SIGABRT
);
16
printf
(
"undead
\n
"
);
17
exit
(
1
);
18
}