4.104.114.84.95
Line | |
---|
1 | /* |
---|
2 | * RTEMS "Broken" __sbrk Implementation |
---|
3 | * |
---|
4 | * NOTE: sbrk is provided by the BSP. |
---|
5 | * |
---|
6 | * COPYRIGHT (c) 1989-1999. |
---|
7 | * On-Line Applications Research Corporation (OAR). |
---|
8 | * |
---|
9 | * The license and distribution terms for this file may be |
---|
10 | * found in the file LICENSE in this distribution or at |
---|
11 | * http://www.OARcorp.com/rtems/license.html. |
---|
12 | * |
---|
13 | * $Id$ |
---|
14 | */ |
---|
15 | |
---|
16 | #include <rtems.h> |
---|
17 | #if !defined(RTEMS_UNIX) |
---|
18 | |
---|
19 | #include <errno.h> |
---|
20 | |
---|
21 | void * __sbrk( |
---|
22 | int incr |
---|
23 | ) |
---|
24 | { |
---|
25 | errno = EINVAL; |
---|
26 | return (void *)0; |
---|
27 | } |
---|
28 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.