source: rtems/c/src/lib/include/rtems/libcsupport.h @ 8bdcfc4

4.104.114.84.95
Last change on this file since 8bdcfc4 was 4e58d80, checked in by Joel Sherrill <joel.sherrill@…>, on 08/11/95 at 14:31:29

Added functions to access the errno of the native system when using the
newlib C library.

  • Property mode set to 100644
File size: 913 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, 1990, 1991, 1992, 1993, 1994.
7 *  On-Line Applications Research Corporation (OAR).
8 *  All rights assigned to U.S. Government, 1994.
9 *
10 *  This material may be reproduced by or for the U.S. Government pursuant
11 *  to the copyright license under the clause at DFARS 252.227-7013.  This
12 *  notice must appear in all copies of this file and its derivatives.
13 *
14 *  $Id$
15 */
16
17#ifndef __LIBC_SUPPORT_h
18#define __LIBC_SUPPORT_h
19
20#ifdef __cplusplus
21extern "C" {
22#endif
23
24#include <sys/types.h>
25
26void RTEMS_Malloc_Initialize(
27  void   *start,
28  size_t  length,
29  size_t  sbrk_amount
30);
31
32extern void libc_init(int reentrant);
33
34#ifdef __cplusplus
35}
36#endif
37
38extern int  host_errno(void);
39extern void fix_syscall_errno(void);
40
41#endif
42/* end of include file */
Note: See TracBrowser for help on using the repository browser.