fixed bash/dash/sh issue (Ubuntu)
[zpugcc/jano.git] / toolchain / gcc / newlib / libc / sys / h8500hms / misc.c
bloba791704a121d5703e8b01fff9af2756029affce9
1 /* Misc. operating system stubs. */
3 #include <_ansi.h>
4 #include <sys/types.h>
5 #include <sys/stat.h>
6 #include <signal.h>
8 /* _raise(), getpid(), and kill() are required by abort().
9 getpid/kill are prefixed with '_' because of MISSING_SYSCALL_NAMES. */
11 int _DEFUN(_raise,(sig),
12 int sig)
14 return 0;
17 int _DEFUN(_getpid,(),)
19 return 0;
22 int _DEFUN(_kill,(pid, sig),
23 int pid _AND
24 int sig)
26 if (sig == SIGABRT)
27 asm ("mov.w #34,r3; trapa #15");
28 return 0;