source:
trunk/libs/newlib/src/libgloss/libnosys/kill.c
@
607
| Last change on this file since 607 was 444, checked in by , 7 years ago | |
|---|---|
| File size: 259 bytes | |
| Line | |
|---|---|
| 1 | /* |
| 2 | * Stub version of kill. |
| 3 | */ |
| 4 | |
| 5 | #include "config.h" |
| 6 | #include <_ansi.h> |
| 7 | #include <_syslist.h> |
| 8 | #include <errno.h> |
| 9 | #undef errno |
| 10 | extern int errno; |
| 11 | #include "warning.h" |
| 12 | |
| 13 | int |
| 14 | _kill (int pid, |
| 15 | int sig) |
| 16 | { |
| 17 | errno = ENOSYS; |
| 18 | return -1; |
| 19 | } |
| 20 | |
| 21 | stub_warning(_kill) |
Note: See TracBrowser
for help on using the repository browser.
