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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [lib/] [libc/] [__sbrk.c] - Blame information for rev 507

Go to most recent revision | Details | Compare with Previous | View Log

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

powered by: WebSVN 2.1.0

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