Last change
on this file since 514 was
444,
checked in by satin@…, 7 years ago
|
add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc
|
File size:
813 bytes
|
Rev | Line | |
---|
[444] | 1 | /* |
---|
| 2 | * Copyright (C) 2006 KPIT Cummins |
---|
| 3 | * Copyright (C) 2009 Conny Marco Menebröcker |
---|
| 4 | * All rights reserved. |
---|
| 5 | * |
---|
| 6 | * Redistribution and use in source and binary forms is permitted |
---|
| 7 | * provided that the above copyright notice and following paragraph are |
---|
| 8 | * duplicated in all such forms. |
---|
| 9 | * |
---|
| 10 | * This file is distributed WITHOUT ANY WARRANTY; without even the implied |
---|
| 11 | * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
---|
| 12 | */ |
---|
| 13 | #include <_ansi.h> |
---|
| 14 | #include <sys/types.h> |
---|
| 15 | #include <sys/stat.h> |
---|
| 16 | |
---|
| 17 | /* _raise(), getpid(), and kill() are required by abort(). |
---|
| 18 | getpid/kill are prefixed with '_' because of MISSING_SYSCALL_NAMES. */ |
---|
| 19 | |
---|
| 20 | int _raise (int sig) |
---|
| 21 | { |
---|
| 22 | errno = ENOSYS; |
---|
| 23 | return -1; |
---|
| 24 | } |
---|
| 25 | |
---|
| 26 | int _getpid (void) |
---|
| 27 | { |
---|
| 28 | errno = ENOSYS; |
---|
| 29 | return -1; |
---|
| 30 | } |
---|
| 31 | |
---|
| 32 | int _kill (int pid, |
---|
| 33 | int sig) |
---|
| 34 | { |
---|
| 35 | errno = ENOSYS; |
---|
| 36 | return -1; |
---|
| 37 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.