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

Subversion Repositories openrisc_me

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

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

Line No. Rev Author Line
1 30 unneback
/*
2
 *  RTEMS "Broken" __brk Implementation
3
 *
4
 *  NOTE: sbrk() is provided by each 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: __brk.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
int __brk(
22
  const void *endds
23
)
24
{
25
  errno = EINVAL;
26
  return -1;
27
}
28
#endif

powered by: WebSVN 2.1.0

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