source: rtems/c/src/lib/libc/libcsupport.h @ 3815a2b

4.104.114.84.95
Last change on this file since 3815a2b was 3815a2b, checked in by Joel Sherrill <joel.sherrill@…>, on 10/18/00 at 15:02:06

2000-10-18 Joel Sherrill <joel@…>

  • libc/Makefile.am: Added mallocfreespace.c.
  • libc/mallocfreespace.c: New file based on work by Nick Simon <Nick.SIMON@…> which he included in malloc.c.
  • libc/libcsupport.h: Added prototype for malloc_free_space().
  • Property mode set to 100644
File size: 909 bytes
Line 
1/*  libcsupport.h
2 *
3 *  This include file contains the information regarding the
4 *  RTEMS specific support for the standard C library.
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#ifndef __LIBC_SUPPORT_h
17#define __LIBC_SUPPORT_h
18
19#ifdef __cplusplus
20extern "C" {
21#endif
22
23#include <sys/types.h>
24
25void RTEMS_Malloc_Initialize(
26  void   *start,
27  size_t  length,
28  size_t  sbrk_amount
29);
30
31extern void malloc_dump(void);
32extern void malloc_walk(size_t source, size_t printf_enabled);
33extern void libc_init(int reentrant);
34extern int  host_errno(void);
35extern void fix_syscall_errno(void);
36extern size_t malloc_free_space();
37
38#ifdef __cplusplus
39}
40#endif
41
42#endif
43/* end of include file */
Note: See TracBrowser for help on using the repository browser.