summaryrefslogblamecommitdiffstats
path: root/c/src/lib/libc/__sbrk.c
blob: b1d31467fd8d9436a2f529a3eb448132b8a0f824 (plain) (tree)
1
2
3
4
  
                                        
  
                                      











                                                           


                        

                  

              

 

                   

      
/*
 *  RTEMS "Broken" __sbrk Implementation
 *
 *  NOTE: sbrk is provided by the BSP.
 *
 *  COPYRIGHT (c) 1989-1998.
 *  On-Line Applications Research Corporation (OAR).
 *  Copyright assigned to U.S. Government, 1994.
 *
 *  The license and distribution terms for this file may be
 *  found in the file LICENSE in this distribution or at
 *  http://www.OARcorp.com/rtems/license.html.
 *
 *  $Id$
 */

#include <rtems.h>
#if !defined(RTEMS_UNIX)

#include <errno.h>

void * __sbrk(
  int incr
)
{
  errno = EINVAL;
  return (void *)0;
}
#endif