summaryrefslogtreecommitdiffstats
path: root/winsup/mingw/include/stdlib.h
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/mingw/include/stdlib.h')
-rw-r--r--winsup/mingw/include/stdlib.h236
1 files changed, 118 insertions, 118 deletions
diff --git a/winsup/mingw/include/stdlib.h b/winsup/mingw/include/stdlib.h
index c973af02a..f8be3c1b1 100644
--- a/winsup/mingw/include/stdlib.h
+++ b/winsup/mingw/include/stdlib.h
@@ -74,9 +74,9 @@ extern char** _argv;
/* imports from runtime dll of the above variables */
#ifdef __MSVCRT__
-extern int* __cdecl __p___argc(void);
-extern char*** __cdecl __p___argv(void);
-extern wchar_t*** __cdecl __p___wargv(void);
+extern int* __cdecl __MINGW_NOTHROW __p___argc(void);
+extern char*** __cdecl __MINGW_NOTHROW __p___argv(void);
+extern wchar_t*** __cdecl __MINGW_NOTHROW __p___wargv(void);
#define __argc (*__p___argc())
#define __argv (*__p___argv())
@@ -134,10 +134,10 @@ __MINGW_IMPORT char** __argv_dll;
#undef errno
extern int errno;
#else
- _CRTIMP int* __cdecl _errno(void);
+ _CRTIMP int* __cdecl __MINGW_NOTHROW _errno(void);
#define errno (*_errno())
#endif
- _CRTIMP int* __cdecl __doserrno(void);
+ _CRTIMP int* __cdecl __MINGW_NOTHROW __doserrno(void);
#define _doserrno (*__doserrno())
#if !defined (__STRICT_ANSI__)
@@ -146,8 +146,8 @@ extern int errno;
*/
#ifdef __MSVCRT__
- extern _CRTIMP char *** __cdecl __p__environ(void);
- extern _CRTIMP wchar_t *** __cdecl __p__wenviron(void);
+ extern _CRTIMP char *** __cdecl __MINGW_NOTHROW __p__environ(void);
+ extern _CRTIMP wchar_t *** __cdecl __MINGW_NOTHROW __p__wenviron(void);
# define _environ (*__p__environ())
# define _wenviron (*__p__wenviron())
#else /* ! __MSVCRT__ */
@@ -206,10 +206,10 @@ __MINGW_IMPORT char* _sys_errlist[];
#ifdef __MSVCRT__
/* msvcrtxx.dll */
-extern _CRTIMP unsigned __cdecl int* __p__osver(void);
-extern _CRTIMP unsigned __cdecl int* __p__winver(void);
-extern _CRTIMP unsigned __cdecl int* __p__winmajor(void);
-extern _CRTIMP unsigned __cdecl int* __p__winminor(void);
+extern _CRTIMP unsigned __cdecl __MINGW_NOTHROW int* __p__osver(void);
+extern _CRTIMP unsigned __cdecl __MINGW_NOTHROW int* __p__winver(void);
+extern _CRTIMP unsigned __cdecl __MINGW_NOTHROW int* __p__winmajor(void);
+extern _CRTIMP unsigned __cdecl __MINGW_NOTHROW int* __p__winminor(void);
#ifndef __DECLSPEC_SUPPORTED
# define _osver (*__p__osver())
@@ -257,9 +257,9 @@ __MINGW_IMPORT unsigned int _winminor_dll;
#if defined __MSVCRT__
/* although the _pgmptr is exported as DATA,
* be safe and use the access function __p__pgmptr() to get it. */
-_CRTIMP char** __cdecl __p__pgmptr(void);
+_CRTIMP char** __cdecl __MINGW_NOTHROW __p__pgmptr(void);
#define _pgmptr (*__p__pgmptr())
-_CRTIMP wchar_t** __cdecl __p__wpgmptr(void);
+_CRTIMP wchar_t** __cdecl __MINGW_NOTHROW __p__wpgmptr(void);
#define _wpgmptr (*__p__wpgmptr())
#else /* ! __MSVCRT__ */
# ifndef __DECLSPEC_SUPPORTED
@@ -300,66 +300,66 @@ __MINGW_IMPORT int _fmode_dll;
#endif /* Not __STRICT_ANSI__ */
-_CRTIMP double __cdecl atof (const char*);
-_CRTIMP int __cdecl atoi (const char*);
-_CRTIMP long __cdecl atol (const char*);
+_CRTIMP double __cdecl __MINGW_NOTHROW atof (const char*);
+_CRTIMP int __cdecl __MINGW_NOTHROW atoi (const char*);
+_CRTIMP long __cdecl __MINGW_NOTHROW atol (const char*);
#if !defined (__STRICT_ANSI__)
-_CRTIMP int __cdecl _wtoi (const wchar_t *);
-_CRTIMP long __cdecl _wtol (const wchar_t *);
+_CRTIMP int __cdecl __MINGW_NOTHROW _wtoi (const wchar_t *);
+_CRTIMP long __cdecl __MINGW_NOTHROW _wtol (const wchar_t *);
#endif
-_CRTIMP double __cdecl strtod (const char*, char**);
+_CRTIMP double __cdecl __MINGW_NOTHROW strtod (const char*, char**);
#if !defined __NO_ISOCEXT /* in libmingwex.a */
-float __cdecl strtof (const char * __restrict__, char ** __restrict__);
-long double __cdecl strtold (const char * __restrict__, char ** __restrict__);
+float __cdecl __MINGW_NOTHROW strtof (const char * __restrict__, char ** __restrict__);
+long double __cdecl __MINGW_NOTHROW strtold (const char * __restrict__, char ** __restrict__);
#endif /* __NO_ISOCEXT */
-_CRTIMP long __cdecl strtol (const char*, char**, int);
-_CRTIMP unsigned long __cdecl strtoul (const char*, char**, int);
+_CRTIMP long __cdecl __MINGW_NOTHROW strtol (const char*, char**, int);
+_CRTIMP unsigned long __cdecl __MINGW_NOTHROW strtoul (const char*, char**, int);
#ifndef _WSTDLIB_DEFINED
/* also declared in wchar.h */
-_CRTIMP double __cdecl wcstod (const wchar_t*, wchar_t**);
+_CRTIMP double __cdecl __MINGW_NOTHROW wcstod (const wchar_t*, wchar_t**);
#if !defined __NO_ISOCEXT /* in libmingwex.a */
-float __cdecl wcstof( const wchar_t * __restrict__, wchar_t ** __restrict__);
-long double __cdecl wcstold (const wchar_t * __restrict__, wchar_t ** __restrict__);
+float __cdecl __MINGW_NOTHROW wcstof( const wchar_t * __restrict__, wchar_t ** __restrict__);
+long double __cdecl __MINGW_NOTHROW wcstold (const wchar_t * __restrict__, wchar_t ** __restrict__);
#endif /* __NO_ISOCEXT */
-_CRTIMP long __cdecl wcstol (const wchar_t*, wchar_t**, int);
-_CRTIMP unsigned long __cdecl wcstoul (const wchar_t*, wchar_t**, int);
+_CRTIMP long __cdecl __MINGW_NOTHROW wcstol (const wchar_t*, wchar_t**, int);
+_CRTIMP unsigned long __cdecl __MINGW_NOTHROW wcstoul (const wchar_t*, wchar_t**, int);
#define _WSTDLIB_DEFINED
#endif
-_CRTIMP size_t __cdecl wcstombs (char*, const wchar_t*, size_t);
-_CRTIMP int __cdecl wctomb (char*, wchar_t);
+_CRTIMP size_t __cdecl __MINGW_NOTHROW wcstombs (char*, const wchar_t*, size_t);
+_CRTIMP int __cdecl __MINGW_NOTHROW wctomb (char*, wchar_t);
-_CRTIMP int __cdecl mblen (const char*, size_t);
-_CRTIMP size_t __cdecl mbstowcs (wchar_t*, const char*, size_t);
-_CRTIMP int __cdecl mbtowc (wchar_t*, const char*, size_t);
+_CRTIMP int __cdecl __MINGW_NOTHROW mblen (const char*, size_t);
+_CRTIMP size_t __cdecl __MINGW_NOTHROW mbstowcs (wchar_t*, const char*, size_t);
+_CRTIMP int __cdecl __MINGW_NOTHROW mbtowc (wchar_t*, const char*, size_t);
-_CRTIMP int __cdecl rand (void);
-_CRTIMP void __cdecl srand (unsigned int);
+_CRTIMP int __cdecl __MINGW_NOTHROW rand (void);
+_CRTIMP void __cdecl __MINGW_NOTHROW srand (unsigned int);
-_CRTIMP void* __cdecl calloc (size_t, size_t) __MINGW_ATTRIB_MALLOC;
-_CRTIMP void* __cdecl malloc (size_t) __MINGW_ATTRIB_MALLOC;
-_CRTIMP void* __cdecl realloc (void*, size_t);
-_CRTIMP void __cdecl free (void*);
-_CRTIMP void __cdecl abort (void) __MINGW_ATTRIB_NORETURN;
-_CRTIMP void __cdecl exit (int) __MINGW_ATTRIB_NORETURN;
+_CRTIMP void* __cdecl __MINGW_NOTHROW calloc (size_t, size_t) __MINGW_ATTRIB_MALLOC;
+_CRTIMP void* __cdecl __MINGW_NOTHROW malloc (size_t) __MINGW_ATTRIB_MALLOC;
+_CRTIMP void* __cdecl __MINGW_NOTHROW realloc (void*, size_t);
+_CRTIMP void __cdecl __MINGW_NOTHROW free (void*);
+_CRTIMP void __cdecl __MINGW_NOTHROW abort (void) __MINGW_ATTRIB_NORETURN;
+_CRTIMP void __cdecl __MINGW_NOTHROW exit (int) __MINGW_ATTRIB_NORETURN;
/* Note: This is in startup code, not imported directly from dll */
-int __cdecl atexit (void (*)(void));
+int __cdecl __MINGW_NOTHROW atexit (void (*)(void));
-_CRTIMP int __cdecl system (const char*);
-_CRTIMP char* __cdecl getenv (const char*);
+_CRTIMP int __cdecl __MINGW_NOTHROW system (const char*);
+_CRTIMP char* __cdecl __MINGW_NOTHROW getenv (const char*);
/* bsearch and qsort are also in non-ANSI header search.h */
-_CRTIMP void* __cdecl bsearch (const void*, const void*, size_t, size_t,
- int (*)(const void*, const void*));
-_CRTIMP void __cdecl qsort (void*, size_t, size_t,
- int (*)(const void*, const void*));
+_CRTIMP void* __cdecl bsearch (const void*, const void*, size_t, size_t,
+ int (*)(const void*, const void*));
+_CRTIMP void __cdecl qsort(void*, size_t, size_t,
+ int (*)(const void*, const void*));
-_CRTIMP int __cdecl abs (int) __MINGW_ATTRIB_CONST;
-_CRTIMP long __cdecl labs (long) __MINGW_ATTRIB_CONST;
+_CRTIMP int __cdecl __MINGW_NOTHROW abs (int) __MINGW_ATTRIB_CONST;
+_CRTIMP long __cdecl __MINGW_NOTHROW labs (long) __MINGW_ATTRIB_CONST;
/*
* div_t and ldiv_t are structures used to return the results of div and
@@ -372,8 +372,8 @@ _CRTIMP long __cdecl labs (long) __MINGW_ATTRIB_CONST;
typedef struct { int quot, rem; } div_t;
typedef struct { long quot, rem; } ldiv_t;
-_CRTIMP div_t __cdecl div (int, int) __MINGW_ATTRIB_CONST;
-_CRTIMP ldiv_t __cdecl ldiv (long, long) __MINGW_ATTRIB_CONST;
+_CRTIMP div_t __cdecl __MINGW_NOTHROW div (int, int) __MINGW_ATTRIB_CONST;
+_CRTIMP ldiv_t __cdecl __MINGW_NOTHROW ldiv (long, long) __MINGW_ATTRIB_CONST;
#if !defined (__STRICT_ANSI__)
@@ -381,58 +381,58 @@ _CRTIMP ldiv_t __cdecl ldiv (long, long) __MINGW_ATTRIB_CONST;
* NOTE: Officially the three following functions are obsolete. The Win32 API
* functions SetErrorMode, Beep and Sleep are their replacements.
*/
-_CRTIMP void __cdecl _beep (unsigned int, unsigned int) __MINGW_ATTRIB_DEPRECATED;
+_CRTIMP void __cdecl __MINGW_NOTHROW _beep (unsigned int, unsigned int) __MINGW_ATTRIB_DEPRECATED;
/* Not to be confused with _set_error_mode (int). */
-_CRTIMP void __cdecl _seterrormode (int) __MINGW_ATTRIB_DEPRECATED;
-_CRTIMP void __cdecl _sleep (unsigned long) __MINGW_ATTRIB_DEPRECATED;
+_CRTIMP void __cdecl __MINGW_NOTHROW _seterrormode (int) __MINGW_ATTRIB_DEPRECATED;
+_CRTIMP void __cdecl __MINGW_NOTHROW _sleep (unsigned long) __MINGW_ATTRIB_DEPRECATED;
-_CRTIMP void __cdecl _exit (int) __MINGW_ATTRIB_NORETURN;
+_CRTIMP void __cdecl __MINGW_NOTHROW _exit (int) __MINGW_ATTRIB_NORETURN;
/* _onexit is MS extension. Use atexit for portability. */
/* Note: This is in startup code, not imported directly from dll */
typedef int (* _onexit_t)(void);
-_onexit_t __cdecl _onexit( _onexit_t );
+_onexit_t __cdecl __MINGW_NOTHROW _onexit( _onexit_t );
-_CRTIMP int __cdecl _putenv (const char*);
-_CRTIMP void __cdecl _searchenv (const char*, const char*, char*);
+_CRTIMP int __cdecl __MINGW_NOTHROW _putenv (const char*);
+_CRTIMP void __cdecl __MINGW_NOTHROW _searchenv (const char*, const char*, char*);
-_CRTIMP char* __cdecl _ecvt (double, int, int*, int*);
-_CRTIMP char* __cdecl _fcvt (double, int, int*, int*);
-_CRTIMP char* __cdecl _gcvt (double, int, char*);
+_CRTIMP char* __cdecl __MINGW_NOTHROW _ecvt (double, int, int*, int*);
+_CRTIMP char* __cdecl __MINGW_NOTHROW _fcvt (double, int, int*, int*);
+_CRTIMP char* __cdecl __MINGW_NOTHROW _gcvt (double, int, char*);
-_CRTIMP void __cdecl _makepath (char*, const char*, const char*, const char*, const char*);
-_CRTIMP void __cdecl _splitpath (const char*, char*, char*, char*, char*);
-_CRTIMP char* __cdecl _fullpath (char*, const char*, size_t);
+_CRTIMP void __cdecl __MINGW_NOTHROW _makepath (char*, const char*, const char*, const char*, const char*);
+_CRTIMP void __cdecl __MINGW_NOTHROW _splitpath (const char*, char*, char*, char*, char*);
+_CRTIMP char* __cdecl __MINGW_NOTHROW _fullpath (char*, const char*, size_t);
-_CRTIMP char* __cdecl _itoa (int, char*, int);
-_CRTIMP char* __cdecl _ltoa (long, char*, int);
-_CRTIMP char* __cdecl _ultoa(unsigned long, char*, int);
-_CRTIMP wchar_t* __cdecl _itow (int, wchar_t*, int);
-_CRTIMP wchar_t* __cdecl _ltow (long, wchar_t*, int);
-_CRTIMP wchar_t* __cdecl _ultow (unsigned long, wchar_t*, int);
+_CRTIMP char* __cdecl __MINGW_NOTHROW _itoa (int, char*, int);
+_CRTIMP char* __cdecl __MINGW_NOTHROW _ltoa (long, char*, int);
+_CRTIMP char* __cdecl __MINGW_NOTHROW _ultoa(unsigned long, char*, int);
+_CRTIMP wchar_t* __cdecl __MINGW_NOTHROW _itow (int, wchar_t*, int);
+_CRTIMP wchar_t* __cdecl __MINGW_NOTHROW _ltow (long, wchar_t*, int);
+_CRTIMP wchar_t* __cdecl __MINGW_NOTHROW _ultow (unsigned long, wchar_t*, int);
#ifdef __MSVCRT__
-_CRTIMP __int64 __cdecl _atoi64(const char *);
-_CRTIMP char* __cdecl _i64toa(__int64, char *, int);
-_CRTIMP char* __cdecl _ui64toa(unsigned __int64, char *, int);
-_CRTIMP __int64 __cdecl _wtoi64(const wchar_t *);
-_CRTIMP wchar_t* __cdecl _i64tow(__int64, wchar_t *, int);
-_CRTIMP wchar_t* __cdecl _ui64tow(unsigned __int64, wchar_t *, int);
-
-_CRTIMP wchar_t* __cdecl _wgetenv(const wchar_t*);
-_CRTIMP int __cdecl _wputenv(const wchar_t*);
-_CRTIMP void __cdecl _wsearchenv(const wchar_t*, const wchar_t*, wchar_t*);
-_CRTIMP void __cdecl _wmakepath(wchar_t*, const wchar_t*, const wchar_t*, const wchar_t*, const wchar_t*);
-_CRTIMP void __cdecl _wsplitpath (const wchar_t*, wchar_t*, wchar_t*, wchar_t*, wchar_t*);
-_CRTIMP wchar_t* __cdecl _wfullpath (wchar_t*, const wchar_t*, size_t);
-
-_CRTIMP unsigned int __cdecl _rotl(unsigned int, int) __MINGW_ATTRIB_CONST;
-_CRTIMP unsigned int __cdecl _rotr(unsigned int, int) __MINGW_ATTRIB_CONST;
-_CRTIMP unsigned long __cdecl _lrotl(unsigned long, int) __MINGW_ATTRIB_CONST;
-_CRTIMP unsigned long __cdecl _lrotr(unsigned long, int) __MINGW_ATTRIB_CONST;
-
-_CRTIMP int __cdecl _set_error_mode (int);
+_CRTIMP __int64 __cdecl __MINGW_NOTHROW _atoi64(const char *);
+_CRTIMP char* __cdecl __MINGW_NOTHROW _i64toa(__int64, char *, int);
+_CRTIMP char* __cdecl __MINGW_NOTHROW _ui64toa(unsigned __int64, char *, int);
+_CRTIMP __int64 __cdecl __MINGW_NOTHROW _wtoi64(const wchar_t *);
+_CRTIMP wchar_t* __cdecl __MINGW_NOTHROW _i64tow(__int64, wchar_t *, int);
+_CRTIMP wchar_t* __cdecl __MINGW_NOTHROW _ui64tow(unsigned __int64, wchar_t *, int);
+
+_CRTIMP wchar_t* __cdecl __MINGW_NOTHROW _wgetenv(const wchar_t*);
+_CRTIMP int __cdecl __MINGW_NOTHROW _wputenv(const wchar_t*);
+_CRTIMP void __cdecl __MINGW_NOTHROW _wsearchenv(const wchar_t*, const wchar_t*, wchar_t*);
+_CRTIMP void __cdecl __MINGW_NOTHROW _wmakepath(wchar_t*, const wchar_t*, const wchar_t*, const wchar_t*, const wchar_t*);
+_CRTIMP void __cdecl __MINGW_NOTHROW _wsplitpath (const wchar_t*, wchar_t*, wchar_t*, wchar_t*, wchar_t*);
+_CRTIMP wchar_t* __cdecl __MINGW_NOTHROW _wfullpath (wchar_t*, const wchar_t*, size_t);
+
+_CRTIMP unsigned int __cdecl __MINGW_NOTHROW _rotl(unsigned int, int) __MINGW_ATTRIB_CONST;
+_CRTIMP unsigned int __cdecl __MINGW_NOTHROW _rotr(unsigned int, int) __MINGW_ATTRIB_CONST;
+_CRTIMP unsigned long __cdecl __MINGW_NOTHROW _lrotl(unsigned long, int) __MINGW_ATTRIB_CONST;
+_CRTIMP unsigned long __cdecl __MINGW_NOTHROW _lrotr(unsigned long, int) __MINGW_ATTRIB_CONST;
+
+_CRTIMP int __cdecl __MINGW_NOTHROW _set_error_mode (int);
#define _OUT_TO_DEFAULT 0
#define _OUT_TO_STDERR 1
#define _OUT_TO_MSGBOX 2
@@ -447,7 +447,7 @@ _CRTIMP int __cdecl _set_error_mode (int);
typedef int intptr_t;
#endif
#endif
-_CRTIMP unsigned int __cdecl _set_abort_behavior (unsigned int, unsigned int);
+_CRTIMP unsigned int __cdecl __MINGW_NOTHROW _set_abort_behavior (unsigned int, unsigned int);
/* These masks work with msvcr80.dll version 8.0.50215.44 (a beta release). */
#define _WRITE_ABORT_MSG 1
#define _CALL_REPORTFAULT 2
@@ -463,16 +463,16 @@ _invalid_parameter_handler _set_invalid_parameter_handler (_invalid_parameter_ha
#ifndef _NO_OLDNAMES
-_CRTIMP int __cdecl putenv (const char*);
-_CRTIMP void __cdecl searchenv (const char*, const char*, char*);
+_CRTIMP int __cdecl __MINGW_NOTHROW putenv (const char*);
+_CRTIMP void __cdecl __MINGW_NOTHROW searchenv (const char*, const char*, char*);
-_CRTIMP char* __cdecl itoa (int, char*, int);
-_CRTIMP char* __cdecl ltoa (long, char*, int);
+_CRTIMP char* __cdecl __MINGW_NOTHROW itoa (int, char*, int);
+_CRTIMP char* __cdecl __MINGW_NOTHROW ltoa (long, char*, int);
#ifndef _UWIN
-_CRTIMP char* __cdecl ecvt (double, int, int*, int*);
-_CRTIMP char* __cdecl fcvt (double, int, int*, int*);
-_CRTIMP char* __cdecl gcvt (double, int, char*);
+_CRTIMP char* __cdecl __MINGW_NOTHROW ecvt (double, int, int*, int*);
+_CRTIMP char* __cdecl __MINGW_NOTHROW fcvt (double, int, int*, int*);
+_CRTIMP char* __cdecl __MINGW_NOTHROW gcvt (double, int, char*);
#endif /* _UWIN */
#endif /* Not _NO_OLDNAMES */
@@ -483,45 +483,45 @@ _CRTIMP char* __cdecl gcvt (double, int, char*);
#if !defined __NO_ISOCEXT /* externs in static libmingwex.a */
/* C99 name for _exit */
-void __cdecl _Exit(int) __MINGW_ATTRIB_NORETURN;
+void __cdecl __MINGW_NOTHROW _Exit(int) __MINGW_ATTRIB_NORETURN;
#ifndef __STRICT_ANSI__ /* inline using non-ansi functions */
-__CRT_INLINE void __cdecl _Exit(int __status)
+__CRT_INLINE void __cdecl __MINGW_NOTHROW _Exit(int __status)
{ _exit (__status); }
#endif
typedef struct { long long quot, rem; } lldiv_t;
-lldiv_t __cdecl lldiv (long long, long long) __MINGW_ATTRIB_CONST;
+lldiv_t __cdecl __MINGW_NOTHROW lldiv (long long, long long) __MINGW_ATTRIB_CONST;
-long long __cdecl llabs(long long);
-__CRT_INLINE long long __cdecl llabs(long long _j)
+long long __cdecl __MINGW_NOTHROW llabs(long long);
+__CRT_INLINE long long __cdecl __MINGW_NOTHROW llabs(long long _j)
{return (_j >= 0 ? _j : -_j);}
-long long __cdecl strtoll (const char* __restrict__, char** __restrict, int);
-unsigned long long __cdecl strtoull (const char* __restrict__, char** __restrict__, int);
+long long __cdecl __MINGW_NOTHROW strtoll (const char* __restrict__, char** __restrict, int);
+unsigned long long __cdecl __MINGW_NOTHROW strtoull (const char* __restrict__, char** __restrict__, int);
#if defined (__MSVCRT__) /* these are stubs for MS _i64 versions */
-long long __cdecl atoll (const char *);
+long long __cdecl __MINGW_NOTHROW atoll (const char *);
#if !defined (__STRICT_ANSI__)
-long long __cdecl wtoll (const wchar_t *);
-char* __cdecl lltoa (long long, char *, int);
-char* __cdecl ulltoa (unsigned long long , char *, int);
-wchar_t* __cdecl lltow (long long, wchar_t *, int);
-wchar_t* __cdecl ulltow (unsigned long long, wchar_t *, int);
+long long __cdecl __MINGW_NOTHROW wtoll (const wchar_t *);
+char* __cdecl __MINGW_NOTHROW lltoa (long long, char *, int);
+char* __cdecl __MINGW_NOTHROW ulltoa (unsigned long long , char *, int);
+wchar_t* __cdecl __MINGW_NOTHROW lltow (long long, wchar_t *, int);
+wchar_t* __cdecl __MINGW_NOTHROW ulltow (unsigned long long, wchar_t *, int);
/* inline using non-ansi functions */
-__CRT_INLINE long long __cdecl atoll (const char * _c)
+__CRT_INLINE long long __cdecl __MINGW_NOTHROW atoll (const char * _c)
{ return _atoi64 (_c); }
-__CRT_INLINE char* __cdecl lltoa (long long _n, char * _c, int _i)
+__CRT_INLINE char* __cdecl __MINGW_NOTHROW lltoa (long long _n, char * _c, int _i)
{ return _i64toa (_n, _c, _i); }
-__CRT_INLINE char* __cdecl ulltoa (unsigned long long _n, char * _c, int _i)
+__CRT_INLINE char* __cdecl __MINGW_NOTHROW ulltoa (unsigned long long _n, char * _c, int _i)
{ return _ui64toa (_n, _c, _i); }
-__CRT_INLINE long long __cdecl wtoll (const wchar_t * _w)
+__CRT_INLINE long long __cdecl __MINGW_NOTHROW wtoll (const wchar_t * _w)
{ return _wtoi64 (_w); }
-__CRT_INLINE wchar_t* __cdecl lltow (long long _n, wchar_t * _w, int _i)
+__CRT_INLINE wchar_t* __cdecl __MINGW_NOTHROW lltow (long long _n, wchar_t * _w, int _i)
{ return _i64tow (_n, _w, _i); }
-__CRT_INLINE wchar_t* __cdecl ulltow (unsigned long long _n, wchar_t * _w, int _i)
+__CRT_INLINE wchar_t* __cdecl __MINGW_NOTHROW ulltow (unsigned long long _n, wchar_t * _w, int _i)
{ return _ui64tow (_n, _w, _i); }
#endif /* (__STRICT_ANSI__) */