4.104.114.84.95
Last change
on this file since 6fd3979 was
98e4ebf5,
checked in by Joel Sherrill <joel.sherrill@…>, on 10/08/97 at 15:45:54
|
Fixed typo in the pointer to the license terms.
|
-
Property mode set to
100644
|
File size:
745 bytes
|
Line | |
---|
1 | /* |
---|
2 | * sbrk.c |
---|
3 | * |
---|
4 | * If the BSP wants to dynamically allocate the memory for the |
---|
5 | * C Library heap (malloc) and/or be able to extend the heap, |
---|
6 | * then this routine must be functional. This is the default |
---|
7 | * implementation which raises an error. |
---|
8 | * |
---|
9 | * COPYRIGHT (c) 1989-1997. 1997. |
---|
10 | * On-Line Applications Research Corporation (OAR). |
---|
11 | * Copyright assigned to U.S. Government, 1994. |
---|
12 | * |
---|
13 | * The license and distribution terms for this file may be |
---|
14 | * found in the file LICENSE in this distribution or at |
---|
15 | * http://www.OARcorp.com/rtems/license.html. |
---|
16 | * |
---|
17 | * $Id$ |
---|
18 | */ |
---|
19 | |
---|
20 | #include <rtems.h> |
---|
21 | |
---|
22 | #include <signal.h> |
---|
23 | #include <errno.h> |
---|
24 | #include <sys/types.h> |
---|
25 | #include <unistd.h> |
---|
26 | |
---|
27 | void * sbrk(size_t incr) |
---|
28 | { |
---|
29 | errno = ENOMEM; |
---|
30 | return (void *)-1; |
---|
31 | } |
---|
32 | |
---|
Note: See
TracBrowser
for help on using the repository browser.