|
Last change
on this file since 686 was
444,
checked in by satin@…, 7 years ago
|
|
add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc
|
|
File size:
402 bytes
|
| Line | |
|---|
| 1 | #include <_ansi.h> |
|---|
| 2 | |
|---|
| 3 | int _kill (int, int); |
|---|
| 4 | void _exit (int); |
|---|
| 5 | |
|---|
| 6 | void |
|---|
| 7 | _exit (int status) |
|---|
| 8 | { |
|---|
| 9 | /* There is only one SWI for both _exit and _kill. For _exit, call |
|---|
| 10 | the SWI with the second argument set to -1, an invalid value for |
|---|
| 11 | signum, so that the SWI handler can distinguish the two calls. |
|---|
| 12 | Note: The RDI implementation of _kill throws away both its |
|---|
| 13 | arguments. */ |
|---|
| 14 | _kill (status, -1); |
|---|
| 15 | } |
|---|
Note: See
TracBrowser
for help on using the repository browser.