source: rtems/c/src/lib/libc/__sbrk.c @ 4154b62

4.104.114.84.95
Last change on this file since 4154b62 was 9c49db4, checked in by Joel Sherrill <joel.sherrill@…>, on 01/08/01 at 18:26:44

2001-01-08 Ralf Corsepius <corsepiu@…>

  • configure.in: Add libc/config.h
  • libc/Makefile.am: Add INCLUDES += -I. to pickup config.h
  • libc/.cvsignore: Add config.h and stamp-h
  • libc/*.c: Add config.h support.
  • Property mode set to 100644
File size: 543 bytes
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#if HAVE_CONFIG_H
17#include "config.h"
18#endif
19
20#include <rtems.h>
21#if !defined(RTEMS_UNIX)
22
23#include <errno.h>
24
25void * __sbrk(
26  int incr
27)
28{
29  errno = EINVAL;
30  return (void *)0;
31}
32#endif
Note: See TracBrowser for help on using the repository browser.