OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rtems/] [c/] [src/] [lib/] [libc/] [__sbrk.c] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 158 chris
/*
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 208 chris
 *  $Id: __sbrk.c,v 1.2 2001-09-27 12:01:15 chris Exp $
14 158 chris
 */
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

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.