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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [newlib/] [newlib/] [libc/] [include/] [stdlib.h] - Diff between revs 39 and 56

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 39 Rev 56
Line 29... Line 29...
  long quot; /* quotient */
  long quot; /* quotient */
  long rem; /* remainder */
  long rem; /* remainder */
} ldiv_t;
} ldiv_t;
 
 
#ifndef NULL
#ifndef NULL
#define NULL 0L
#define NULL 0
#endif
#endif
 
 
#define EXIT_FAILURE 1
#define EXIT_FAILURE 1
#define EXIT_SUCCESS 0
#define EXIT_SUCCESS 0
 
 
#define RAND_MAX 0x7fffffff
#define RAND_MAX 0x7fffffff
 
 
 
#if (defined(__CYGWIN__) || defined(__CYGWIN32__)) && ! defined(_COMPILING_NEWLIB)
 
extern __declspec(dllimport) int __mb_cur_max;
 
#else
extern int __mb_cur_max;
extern int __mb_cur_max;
 
#endif
 
 
#define MB_CUR_MAX __mb_cur_max
#define MB_CUR_MAX __mb_cur_max
 
 
_VOID   _EXFUN(abort,(_VOID) _ATTRIBUTE ((noreturn)));
_VOID   _EXFUN(abort,(_VOID) _ATTRIBUTE ((noreturn)));
int     _EXFUN(abs,(int));
int     _EXFUN(abs,(int));
int     _EXFUN(atexit,(_VOID (*_func)(_VOID)));
int     _EXFUN(atexit,(_VOID (*__func)(_VOID)));
double  _EXFUN(atof,(const char *_nptr));
double  _EXFUN(atof,(const char *__nptr));
#ifndef _STRICT_ANSI
#ifndef __STRICT_ANSI__
float   _EXFUN(atoff,(const char *_nptr));
float   _EXFUN(atoff,(const char *__nptr));
#endif
#endif
int     _EXFUN(atoi,(const char *_nptr));
int     _EXFUN(atoi,(const char *__nptr));
long    _EXFUN(atol,(const char *_nptr));
long    _EXFUN(atol,(const char *__nptr));
_PTR    _EXFUN(bsearch,(const _PTR _key,
_PTR    _EXFUN(bsearch,(const _PTR __key,
                       const _PTR _base,
                       const _PTR __base,
                       size_t _nmemb,
                       size_t __nmemb,
                       size_t _size,
                       size_t __size,
                       int _EXFUN((*_compar),(const _PTR, const _PTR))));
                       int _EXFUN((*_compar),(const _PTR, const _PTR))));
_PTR    _EXFUN(calloc,(size_t _nmemb, size_t _size));
_PTR    _EXFUN(calloc,(size_t __nmemb, size_t __size));
div_t   _EXFUN(div,(int _numer, int _denom));
div_t   _EXFUN(div,(int __numer, int __denom));
_VOID   _EXFUN(exit,(int _status) _ATTRIBUTE ((noreturn)));
_VOID   _EXFUN(exit,(int __status) _ATTRIBUTE ((noreturn)));
_VOID   _EXFUN(free,(_PTR));
_VOID   _EXFUN(free,(_PTR));
char *  _EXFUN(getenv,(const char *_string));
char *  _EXFUN(getenv,(const char *__string));
 
char *  _EXFUN(_getenv_r,(struct _reent *, const char *__string));
 
char *  _EXFUN(_findenv,(_CONST char *, int *));
 
char *  _EXFUN(_findenv_r,(struct _reent *, _CONST char *, int *));
long    _EXFUN(labs,(long));
long    _EXFUN(labs,(long));
ldiv_t  _EXFUN(ldiv,(long _numer, long _denom));
ldiv_t  _EXFUN(ldiv,(long __numer, long __denom));
_PTR    _EXFUN(malloc,(size_t _size));
_PTR    _EXFUN(malloc,(size_t __size));
int     _EXFUN(mblen,(const char *, size_t));
int     _EXFUN(mblen,(const char *, size_t));
 
int     _EXFUN(_mblen_r,(struct _reent *, const char *, size_t, int *));
int     _EXFUN(mbtowc,(wchar_t *, const char *, size_t));
int     _EXFUN(mbtowc,(wchar_t *, const char *, size_t));
int     _EXFUN(_mbtowc_r,(struct _reent *, wchar_t *, const char *, size_t, int *));
int     _EXFUN(_mbtowc_r,(struct _reent *, wchar_t *, const char *, size_t, int *));
int     _EXFUN(wctomb,(char *, wchar_t));
int     _EXFUN(wctomb,(char *, wchar_t));
int     _EXFUN(_wctomb_r,(struct _reent *, char *, wchar_t, int *));
int     _EXFUN(_wctomb_r,(struct _reent *, char *, wchar_t, int *));
size_t  _EXFUN(mbstowcs,(wchar_t *, const char *, size_t));
size_t  _EXFUN(mbstowcs,(wchar_t *, const char *, size_t));
size_t  _EXFUN(_mbstowcs_r,(struct _reent *, wchar_t *, const char *, size_t, int *));
size_t  _EXFUN(_mbstowcs_r,(struct _reent *, wchar_t *, const char *, size_t, int *));
size_t  _EXFUN(wcstombs,(char *, const wchar_t *, size_t));
size_t  _EXFUN(wcstombs,(char *, const wchar_t *, size_t));
size_t  _EXFUN(_wcstombs_r,(struct _reent *, char *, const wchar_t *, size_t, int *));
size_t  _EXFUN(_wcstombs_r,(struct _reent *, char *, const wchar_t *, size_t, int *));
_VOID   _EXFUN(qsort,(_PTR _base, size_t _nmemb, size_t _size, int(*_compar)(const _PTR, const _PTR)));
_VOID   _EXFUN(qsort,(_PTR __base, size_t __nmemb, size_t __size, int(*_compar)(const _PTR, const _PTR)));
int     _EXFUN(rand,(_VOID));
int     _EXFUN(rand,(_VOID));
_PTR    _EXFUN(realloc,(_PTR _r, size_t _size));
_PTR    _EXFUN(realloc,(_PTR __r, size_t __size));
_VOID   _EXFUN(srand,(unsigned _seed));
_VOID   _EXFUN(srand,(unsigned __seed));
double  _EXFUN(strtod,(const char *_n, char **_end_PTR));
double  _EXFUN(strtod,(const char *__n, char **_end_PTR));
#ifndef _STRICT_ANSI
#ifndef __STRICT_ANSI__
float   _EXFUN(strtodf,(const char *_n, char **_end_PTR));
float   _EXFUN(strtodf,(const char *__n, char **_end_PTR));
#endif
#endif
long    _EXFUN(strtol,(const char *_n, char **_end_PTR, int _base));
long    _EXFUN(strtol,(const char *__n, char **_end_PTR, int __base));
unsigned long _EXFUN(strtoul,(const char *_n_PTR, char **_end_PTR, int _base));
unsigned long _EXFUN(strtoul,(const char *_n_PTR, char **_end_PTR, int __base));
unsigned long _EXFUN(_strtoul_r,(struct _reent *,const char *_n_PTR, char **_end_PTR, int _base));
unsigned long _EXFUN(_strtoul_r,(struct _reent *,const char *_n_PTR, char **_end_PTR, int __base));
int     _EXFUN(system,(const char *_string));
int     _EXFUN(system,(const char *__string));
 
 
#ifndef _STRICT_ANSI
#ifndef __STRICT_ANSI__
_VOID   _EXFUN(cfree,(_PTR));
_VOID   _EXFUN(cfree,(_PTR));
int     _EXFUN(putenv,(const char *_string));
int     _EXFUN(putenv,(const char *__string));
int     _EXFUN(setenv,(const char *_string, const char *_value, int _overwrite));
int     _EXFUN(setenv,(const char *__string, const char *__value, int __overwrite));
 
int     _EXFUN(_setenv_r,(struct _reent *, const char *__string, const char *__value, int __overwrite));
 
 
char *  _EXFUN(gcvt,(double,int,char *));
char *  _EXFUN(gcvt,(double,int,char *));
char *  _EXFUN(gcvtf,(float,int,char *));
char *  _EXFUN(gcvtf,(float,int,char *));
char *  _EXFUN(fcvt,(double,int,int *,int *));
char *  _EXFUN(fcvt,(double,int,int *,int *));
char *  _EXFUN(fcvtf,(float,int,int *,int *));
char *  _EXFUN(fcvtf,(float,int,int *,int *));
char *  _EXFUN(ecvt,(double,int,int *,int *));
char *  _EXFUN(ecvt,(double,int,int *,int *));
char *  _EXFUN(ecvtbuf,(double, int, int*, int*, char *));
char *  _EXFUN(ecvtbuf,(double, int, int*, int*, char *));
char *  _EXFUN(fcvtbuf,(double, int, int*, int*, char *));
char *  _EXFUN(fcvtbuf,(double, int, int*, int*, char *));
char *  _EXFUN(ecvtf,(float,int,int *,int *));
char *  _EXFUN(ecvtf,(float,int,int *,int *));
char *  _EXFUN(dtoa,(double, int, int, int *, int*, char**));
char *  _EXFUN(dtoa,(double, int, int, int *, int*, char**));
int     _EXFUN(rand_r,(unsigned *_seed));
int     _EXFUN(rand_r,(unsigned *__seed));
 
 
#ifdef __CYGWIN32__
#ifdef __CYGWIN32__
extern char *realpath (const char *, char *);
char *  _EXFUN(realpath,(const char *, char *));
void    _EXFUN(unsetenv,(const char *_string));
void    _EXFUN(unsetenv,(const char *__string));
 
int     _EXFUN(random,(_VOID));
 
long    _EXFUN(srandom,(unsigned __seed));
 
char *  _EXFUN(ptsname, (int));
 
int     _EXFUN(grantpt, (int));
 
int     _EXFUN(unlockpt,(int));
#endif
#endif
 
 
#endif /* ! _STRICT_ANSI */
#endif /* ! __STRICT_ANSI__ */
 
 
char *  _EXFUN(_dtoa_r,(struct _reent *, double, int, int, int *, int*, char**));
char *  _EXFUN(_dtoa_r,(struct _reent *, double, int, int, int *, int*, char**));
_PTR    _EXFUN(_malloc_r,(struct _reent *, size_t));
_PTR    _EXFUN(_malloc_r,(struct _reent *, size_t));
_PTR    _EXFUN(_calloc_r,(struct _reent *, size_t, size_t));
_PTR    _EXFUN(_calloc_r,(struct _reent *, size_t, size_t));
_VOID   _EXFUN(_free_r,(struct _reent *, _PTR));
_VOID   _EXFUN(_free_r,(struct _reent *, _PTR));

powered by: WebSVN 2.1.0

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