12 #pragma pack(push,_CRT_PACKING) 26 #define NULL ((void *)0) 34 #define EXIT_SUCCESS 0 35 #define EXIT_FAILURE 1 37 #ifndef _ONEXIT_T_DEFINED 38 #define _ONEXIT_T_DEFINED 43 #define onexit_t _onexit_t 47 #ifndef _DIV_T_DEFINED 48 #define _DIV_T_DEFINED 61 #ifndef _CRT_DOUBLE_DEC 62 #define _CRT_DOUBLE_DEC 70 #define _PTR_LD(x) ((unsigned char *)(&(x)->ld)) 79 #if __MINGW_GNUC_PREREQ(4,4) 80 #pragma push_macro("long") 88 #if __MINGW_GNUC_PREREQ(4,4) 89 #pragma pop_macro("long") 94 unsigned char ld12[12];
99 #define RAND_MAX 0x7fff 102 #define MB_CUR_MAX ___mb_cur_max_func() 105 #define __mb_cur_max (*__p___mb_cur_max()) 113 #define __max(a,b) (((a) > (b)) ? (a) : (b)) 114 #define __min(a,b) (((a) < (b)) ? (a) : (b)) 116 #define _MAX_PATH 260 119 #define _MAX_FNAME 256 122 #define _OUT_TO_DEFAULT 0 123 #define _OUT_TO_STDERR 1 124 #define _OUT_TO_MSGBOX 2 125 #define _REPORT_ERRMODE 3 127 #define _WRITE_ABORT_MSG 0x1 128 #define _CALL_REPORTFAULT 0x2 130 #define _MAX_ENV 32767 143 #define _doserrno (*__doserrno()) 150 #if defined(_DLL) && defined(_M_IX86) 170 #define __argv (*__p___argv()) 171 #define __argc (*__p___argc()) 172 #define __wargv (*__p___wargv()) 173 #define _environ (*__p__environ()) 174 #define _wenviron (*__p__wenviron()) 175 #define _pgmptr (*__p__pgmptr()) 176 #define _wpgmptr (*__p__wpgmptr()) 194 #define _fmode (*__p__fmode()) 207 #define _osplatform (*__p__osplatform()) 208 #define _osver (*__p__osver()) 209 #define _winver (*__p__winver()) 210 #define _winmajor (*__p__winmajor()) 211 #define _winminor (*__p__winminor()) 228 #define _countof(_Array) (sizeof(_Array) / sizeof(_Array[0])) 231 template <
typename _CountofType,
size_t _SizeOfArray>
232 char (*__countof_helper( _CountofType (&_Array)[_SizeOfArray]))[_SizeOfArray];
233 #define _countof(_Array) sizeof(*__countof_helper(_Array)) 238 #ifndef _CRT_TERMINATE_DEFINED 239 #define _CRT_TERMINATE_DEFINED 242 #if !defined __NO_ISOCEXT 248 #if __MINGW_GNUC_PREREQ(4,4) 249 #pragma push_macro("abort") 253 #if __MINGW_GNUC_PREREQ(4,4) 254 #pragma pop_macro("abort") 260 #ifndef _CRT_ABS_DEFINED 261 #define _CRT_ABS_DEFINED 266 #if _INTEGRAL_MAX_BITS >= 64 271 #ifndef _CRT_ATOF_DEFINED 272 #define _CRT_ATOF_DEFINED 278 _In_z_ const char *_String);
284 _In_z_ const char *_String,
317 #ifndef _CRT_ALGO_DEFINED 318 #define _CRT_ALGO_DEFINED 324 _In_ const void *_Key,
326 _In_ size_t _NumOfElements,
328 _In_ int (
__cdecl *_PtFuncCompare)(
const void *,
const void *));
334 _In_ size_t _NumOfElements,
336 _In_ int (
__cdecl *_PtFuncCompare)(
const void *,
const void *));
340 #if !defined(__GNUC__) && !defined(__clang__) 346 _In_ unsigned short _Short);
352 _In_ unsigned long _Long);
354 #if _INTEGRAL_MAX_BITS >= 64 370 _In_ int _Denominator);
376 _In_z_ const char *_VarName);
386 #if _INTEGRAL_MAX_BITS >= 64 412 _In_z_ const char *_String);
420 _In_z_ const char *_String,
429 _In_z_ const char *_String,
439 _In_z_ const char *_String,
450 _In_z_ const char *_String,
460 _In_z_ const char *_String,
471 _In_ long _Numerator,
472 _In_ long _Denominator);
536 _In_ size_t _SrcSizeInBytes);
544 _In_ size_t _SrcSizeInBytes,
578 _In_ unsigned int _Seed);
593 #if !defined __NO_ISOCEXT 594 float __cdecl strtof (
const char * __restrict__,
char ** __restrict__);
595 long double __cdecl strtold(
const char * __restrict__,
char ** __restrict__);
643 #ifndef _CRT_SYSTEM_DEFINED 644 #define _CRT_SYSTEM_DEFINED 677 _In_z_ const wchar_t *_Source,
685 _In_z_ const wchar_t *_Source,
689 #ifndef _CRT_ALLOCATION_DEFINED 690 #define _CRT_ALLOCATION_DEFINED 698 _In_ size_t _NumOfElements,
737 #if (!defined (_XMMINTRIN_H_INCLUDED) && !defined (_MM_MALLOC_H_INCLUDED)) || defined(_aligned_malloc) 738 #pragma push_macro("_aligned_free") 739 #pragma push_macro("_aligned_malloc") 741 #undef _aligned_malloc 759 #pragma pop_macro("_aligned_free") 760 #pragma pop_macro("_aligned_malloc") 818 _aligned_offset_recalloc(
827 #ifndef _WSTDLIB_DEFINED 828 #define _WSTDLIB_DEFINED 858 _In_z_ const wchar_t *_Str,
867 #if !defined __NO_ISOCEXT 868 float __cdecl wcstof(
const wchar_t * __restrict__,
wchar_t ** __restrict__);
869 long double __cdecl wcstold(
const wchar_t * __restrict__,
wchar_t ** __restrict__);
877 _In_z_ const wchar_t *_Str,
885 _In_z_ const wchar_t *_Str,
894 _In_z_ const wchar_t *_Str,
903 _In_z_ const wchar_t *_Str,
912 _In_z_ const wchar_t *_Str,
922 _In_z_ const wchar_t *_VarName);
924 #ifndef _CRT_WSYSTEM_DEFINED 925 #define _CRT_WSYSTEM_DEFINED 938 _In_z_ const wchar_t *_Str);
945 _In_z_ const wchar_t *_Str,
953 _In_z_ const wchar_t *_Str);
960 _In_z_ const wchar_t *_Str,
968 _In_z_ const wchar_t *_Str);
975 _In_z_ const wchar_t *_Str,
978 #if _INTEGRAL_MAX_BITS >= 64 1004 _In_z_ const wchar_t *_Str);
1012 _In_z_ const wchar_t *_Str,
1021 _In_z_ const wchar_t *_Str,
1031 _In_z_ const wchar_t *_Str,
1042 _In_z_ const wchar_t *_Str,
1052 _In_z_ const wchar_t *_Str,
1062 #define _CVTBUFSIZE (309+40) 1070 _In_z_ const char *_Path,
1079 _In_ int _NumOfDigits,
1081 _Out_ int *_PtSign);
1091 _Out_ int *_PtSign);
1098 _In_ int _NumOfDigits,
1181 #ifndef _CRT_PERROR_DEFINED 1182 #define _CRT_PERROR_DEFINED 1194 _In_z_ const char *_EnvString);
1196 #if !defined(__GNUC__) && !defined(__clang__) 1205 #if _INTEGRAL_MAX_BITS >= 64 1222 #if _INTEGRAL_MAX_BITS >= 64 1238 _In_z_ const char *_Filename,
1239 _In_z_ const char *_EnvVar,
1246 _In_z_ const char *_FullPath,
1260 #ifndef _WSTDLIBP_DEFINED 1261 #define _WSTDLIBP_DEFINED 1269 _In_z_ const wchar_t *_Path,
1282 #ifndef _CRT_WPERROR_DEFINED 1283 #define _CRT_WPERROR_DEFINED 1296 _In_z_ const wchar_t *_EnvString);
1302 _In_z_ const wchar_t *_Filename,
1303 _In_z_ const wchar_t *_EnvVar,
1310 _In_z_ const wchar_t *_FullPath,
1323 _In_ unsigned _Frequency,
1324 _In_ unsigned _Duration);
1339 _In_ unsigned long _Duration);
1349 #define max(a,b) (((a) > (b)) ? (a) : (b)) 1352 #define min(a,b) (((a) < (b)) ? (a) : (b)) 1358 #define sys_errlist _sys_errlist 1359 #define sys_nerr _sys_nerr 1360 #define environ _environ 1368 _In_ int _NumOfDigits,
1370 _Out_ int *_PtSign);
1380 _Out_ int *_PtSign);
1387 _In_ int _NumOfDigits,
1411 _In_z_ const char *_EnvString);
1437 #if !defined __NO_ISOCEXT 1451 #ifndef __STRICT_ANSI__ _CRTIMP void __cdecl _swab(_Inout_updates_(_SizeInBytes) _Post_readable_size_(_SizeInBytes) char *_Buf1, _Inout_updates_(_SizeInBytes) _Post_readable_size_(_SizeInBytes) char *_Buf2, int _SizeInBytes)
_CRTIMP wchar_t *__cdecl _ltow(_In_ long _Value, _Pre_notnull_ _Post_z_ wchar_t *_Dest, _In_ int _Radix)
_CRTIMP int __cdecl _wsystem(_In_opt_z_ const wchar_t *_Command)
_Check_return_ __MINGW_EXTENSION _CRTIMP unsigned __int64 __cdecl _wcstoui64_l(_In_z_ const wchar_t *_Str, _Out_opt_ _Deref_post_z_ wchar_t **_EndPtr, _In_ int _Radix, _In_opt_ _locale_t _Locale)
_CRTIMP void __cdecl _wmakepath(_Pre_notnull_ _Post_z_ wchar_t *_ResultPath, _In_opt_z_ const wchar_t *_Drive, _In_opt_z_ const wchar_t *_Dir, _In_opt_z_ const wchar_t *_Filename, _In_opt_z_ const wchar_t *_Ext)
unsigned int * __p__winminor(void)
_Check_return_ double __cdecl atof(_In_z_ const char *_String)
errno_t __cdecl _get_osplatform(_Out_ unsigned int *_Value)
int __cdecl wctomb(_Out_writes_opt_z_(MB_LEN_MAX) char *_MbCh, _In_ wchar_t _WCh)
_CRTIMP wchar_t ***__cdecl __p__wenviron()
_CRTIMP void __cdecl _aligned_free(_Pre_maybenull_ _Post_invalid_ void *_Memory)
_Check_return_ _Ret_maybenull_ _In_ size_t _Alignment
_CRTIMP errno_t __cdecl _set_fmode(_In_ int _Mode)
_CRTIMP wchar_t *__cdecl _ultow(_In_ unsigned long _Value, _Pre_notnull_ _Post_z_ wchar_t *_Dest, _In_ int _Radix)
_Check_return_ _CRTIMP int __cdecl _mblen_l(_In_reads_bytes_opt_(_MaxCount) _Pre_opt_z_ const char *_Ch, _In_ size_t _MaxCount, _In_opt_ _locale_t _Locale)
errno_t __cdecl _get_winmajor(_Out_ unsigned int *_Value)
_Check_return_ _CRTIMP int __cdecl putenv(_In_z_ const char *_EnvString)
_Check_return_ unsigned long __cdecl _lrotl(_In_ unsigned long _Val, _In_ int _Shift)
_Check_return_ _CRTIMP int __cdecl _atoi_l(_In_z_ const char *_Str, _In_opt_ _locale_t _Locale)
_Check_return_ wchar_t _Ch
_Check_return_ _CRTIMP char *__cdecl _fullpath(_Out_writes_opt_z_(_SizeInBytes) char *_FullPath, _In_z_ const char *_Path, _In_ size_t _SizeInBytes)
long double __cdecl wcstold(const wchar_t *__restrict__, wchar_t **__restrict__)
struct png_info_def **typedef void(__cdecl typeof(png_destroy_read_struct))(struct png_struct_def **
_Check_return_ void *__cdecl bsearch(_In_ const void *_Key, _In_reads_bytes_(_NumOfElements *_SizeOfElements) const void *_Base, _In_ size_t _NumOfElements, _In_ size_t _SizeOfElements, _In_ int(__cdecl *_PtFuncCompare)(const void *, const void *))
unsigned int * __p__winmajor(void)
_CRTIMP _purecall_handler __cdecl _get_purecall_handler(void)
#define _In_reads_bytes_(s)
_Check_return_ _CRTIMP long __cdecl _strtol_l(_In_z_ const char *_Str, _Out_opt_ _Deref_post_z_ char **_EndPtr, _In_ int _Radix, _In_opt_ _locale_t _Locale)
_CRTIMP void __cdecl _makepath(_Pre_notnull_ _Post_z_ char *_Path, _In_opt_z_ const char *_Drive, _In_opt_z_ const char *_Dir, _In_opt_z_ const char *_Filename, _In_opt_z_ const char *_Ext)
_Check_return_ double __cdecl strtod(_In_z_ const char *_Str, _Out_opt_ _Deref_post_z_ char **_EndPtr)
size_t __cdecl mbstowcs(_Out_writes_opt_z_(_MaxCount) wchar_t *_Dest, _In_z_ const char *_Source, _In_ size_t _MaxCount)
_In_ size_t _In_ size_t _Size
float __cdecl wcstof(const wchar_t *nptr, wchar_t **endptr)
_Check_return_ _CRTIMP int __cdecl _wtoi(_In_z_ const wchar_t *_Str)
_CRTIMP unsigned long *__cdecl __doserrno(void)
int __cdecl system(_In_opt_z_ const char *_Command)
_Check_return_ __MINGW_EXTENSION _CRTIMP __int64 __cdecl _strtoi64(_In_z_ const char *_String, _Out_opt_ _Deref_post_z_ char **_EndPtr, _In_ int _Radix)
#define _Outptr_result_z_
void __cdecl qsort(_Inout_updates_bytes_(_NumOfElements *_SizeOfElements) _Post_readable_byte_size_(_NumOfElements *_SizeOfElements) void *_Base, _In_ size_t _NumOfElements, _In_ size_t _SizeOfElements, _In_ int(__cdecl *_PtFuncCompare)(const void *, const void *))
_CRTIMP char **__cdecl __p__pgmptr()
_CRTIMP unsigned int _winminor
_CRTIMP int __cdecl _mbtowc_l(_Pre_notnull_ _Post_z_ wchar_t *_DstCh, _In_reads_bytes_opt_(_SrcSizeInBytes) _Pre_opt_z_ const char *_SrcCh, _In_ size_t _SrcSizeInBytes, _In_opt_ _locale_t _Locale)
_CRTIMP int *__cdecl __p___argc()
errno_t __cdecl _get_winminor(_Out_ unsigned int *_Value)
void __cdecl srand(_In_ unsigned int _Seed)
_CRTIMP size_t __cdecl _wcstombs_l(_Out_writes_opt_z_(_MaxCount) char *_Dest, _In_z_ const wchar_t *_Source, _In_ size_t _MaxCount, _In_opt_ _locale_t _Locale)
_CRTIMP unsigned int _osplatform
_CRTIMP wchar_t ***__cdecl __p___wargv()
_Check_return_ _Ret_maybenull_ _Post_writable_byte_size_(_NumOfElements *_SizeOfElements) void *__cdecl calloc(_In_ size_t _NumOfElements
__MINGW_EXTENSION _CRTIMP char *__cdecl _i64toa(_In_ __int64 _Val, _Pre_notnull_ _Post_z_ char *_DstBuf, _In_ int _Radix)
_CRTIMP void __cdecl _splitpath(_In_z_ const char *_FullPath, _Pre_maybenull_ _Post_z_ char *_Drive, _Pre_maybenull_ _Post_z_ char *_Dir, _Pre_maybenull_ _Post_z_ char *_Filename, _Pre_maybenull_ _Post_z_ char *_Ext)
int(__cdecl * _onexit_t)(void)
_Check_return_ __MINGW_EXTENSION _CRTIMP __int64 __cdecl _wcstoi64(_In_z_ const wchar_t *_Str, _Out_opt_ _Deref_post_z_ wchar_t **_EndPtr, _In_ int _Radix)
_CRTIMP wchar_t *__cdecl _itow(_In_ int _Value, _Pre_notnull_ _Post_z_ wchar_t *_Dest, _In_ int _Radix)
__MINGW_EXTENSION long long __cdecl wtoll(const wchar_t *)
_CRTIMP unsigned int _winver
_Check_return_ long __cdecl wcstol(_In_z_ const wchar_t *_Str, _Out_opt_ _Deref_post_z_ wchar_t **_EndPtr, _In_ int _Radix)
_Check_return_ unsigned long __cdecl wcstoul(_In_z_ const wchar_t *_Str, _Out_opt_ _Deref_post_z_ wchar_t **_EndPtr, _In_ int _Radix)
_CRTIMP char ***__cdecl __p___argv()
int *__cdecl __p___mb_cur_max(void)
_Check_return_ _CRTIMP unsigned long __cdecl _strtoul_l(_In_z_ const char *_Str, _Out_opt_ _Deref_post_z_ char **_EndPtr, _In_ int _Radix, _In_opt_ _locale_t _Locale)
_Check_return_ _CRTIMP double __cdecl _wcstod_l(_In_z_ const wchar_t *_Str, _Out_opt_ _Deref_post_z_ wchar_t **_EndPtr, _In_opt_ _locale_t _Locale)
_Check_return_ _CRTIMP unsigned long __cdecl _wcstoul_l(_In_z_ const wchar_t *_Str, _Out_opt_ _Deref_post_z_ wchar_t **_EndPtr, _In_ int _Radix, _In_opt_ _locale_t _Locale)
void __cdecl perror(_In_opt_z_ const char *_ErrMsg)
void *CDECL _aligned_offset_malloc(size_t size, size_t alignment, size_t offset)
errno_t __cdecl _get_osver(_Out_ unsigned int *_Value)
_invalid_parameter_handler __cdecl _set_invalid_parameter_handler(_In_opt_ _invalid_parameter_handler _Handler)
__MINGW_EXTENSION long long __cdecl atoll(const char *)
int __cdecl atexit(void(__cdecl *)(void))
__MINGW_EXTENSION _CRTIMP wchar_t *__cdecl _i64tow(_In_ __int64 _Val, _Pre_notnull_ _Post_z_ wchar_t *_DstBuf, _In_ int _Radix)
_Check_return_ __MINGW_EXTENSION _CRTIMP __int64 __cdecl _strtoi64_l(_In_z_ const char *_String, _Out_opt_ _Deref_post_z_ char **_EndPtr, _In_ int _Radix, _In_opt_ _locale_t _Locale)
_Check_return_ _CRTIMP int __cdecl _atoflt(_Out_ _CRT_FLOAT *_Result, _In_z_ char *_Str)
_onexit_t __cdecl _onexit(_In_opt_ _onexit_t _Func)
_Check_return_ __MINGW_EXTENSION _CRTIMP unsigned __int64 __cdecl _wcstoui64(_In_z_ const wchar_t *_Str, _Out_opt_ _Deref_post_z_ wchar_t **_EndPtr, _In_ int _Radix)
_Check_return_ _CRTIMP long __cdecl _wcstol_l(_In_z_ const wchar_t *_Str, _Out_opt_ _Deref_post_z_ wchar_t **_EndPtr, _In_ int _Radix, _In_opt_ _locale_t _Locale)
_CRTIMP wchar_t ** _wenviron
_Check_return_ _CRTIMP size_t __cdecl _mbstrlen_l(_In_z_ const char *_Str, _In_opt_ _locale_t _Locale)
_Check_return_ _CRTIMP wchar_t *__cdecl _wfullpath(_Out_writes_opt_z_(_SizeInWords) wchar_t *_FullPath, _In_z_ const wchar_t *_Path, _In_ size_t _SizeInWords)
#define _Post_readable_size_(s)
_Check_return_ _CRTIMP int __cdecl _atoldbl_l(_Out_ _LDOUBLE *_Result, _In_z_ char *_Str, _In_opt_ _locale_t _Locale)
int __cdecl abs(_In_ int _X)
unsigned int *__cdecl __p__fmode(void)
void(__cdecl * _purecall_handler)(void)
_Check_return_ __MINGW_EXTENSION unsigned __int64 __cdecl _rotl64(_In_ unsigned __int64 _Val, _In_ int _Shift)
_Check_return_ double __cdecl _atof_l(_In_z_ const char *_String, _In_opt_ _locale_t _Locale)
_CRTIMP char *__cdecl _ultoa(_In_ unsigned long _Value, _Pre_notnull_ _Post_z_ char *_Dest, _In_ int _Radix)
_Check_return_ int __cdecl rand(void)
_CRTIMP void __cdecl _wperror(_In_opt_z_ const wchar_t *_ErrMsg)
_CRTIMP int __cdecl ___mb_cur_max_func(void)
_Check_return_ __MINGW_EXTENSION unsigned __int64 __cdecl _byteswap_uint64(_In_ unsigned __int64 _Int64)
_Check_return_ _CRTIMP long __cdecl _wtol_l(_In_z_ const wchar_t *_Str, _In_opt_ _locale_t _Locale)
int __cdecl mbtowc(_Pre_notnull_ _Post_z_ wchar_t *_DstCh, _In_reads_bytes_opt_(_SrcSizeInBytes) _Pre_opt_z_ const char *_SrcCh, _In_ size_t _SrcSizeInBytes)
__MINGW_EXTENSION _CRTIMP wchar_t *__cdecl _ui64tow(_In_ unsigned __int64 _Val, _Pre_notnull_ _Post_z_ wchar_t *_DstBuf, _In_ int _Radix)
_Check_return_ _CRTIMP char *__cdecl fcvt(_In_ double _Val, _In_ int _NumOfDec, _Out_ int *_PtDec, _Out_ int *_PtSign)
#define __MINGW_EXTENSION
#define __MINGW_ATTRIB_DEPRECATED
_CRTIMP char * _sys_errlist[]
_Check_return_ _CRTIMP size_t __cdecl _mbstrlen(_In_z_ const char *_Str)
__CRT_INLINE void __cdecl _Exit(int status)
#define _Post_readable_byte_size_(s)
errno_t __cdecl _set_doserrno(_In_ unsigned long _Value)
_CRTIMP errno_t __cdecl _get_wenviron(_Out_ wchar_t ***)
__MINGW_EXTENSION long long __cdecl strtoll(const char *__restrict__, char **__restrict, int)
_CRTIMP void __cdecl _wsearchenv(_In_z_ const wchar_t *_Filename, _In_z_ const wchar_t *_EnvVar, _Pre_notnull_ _Post_z_ wchar_t *_ResultPath)
_Check_return_ _CRTIMP long __cdecl _atol_l(_In_z_ const char *_Str, _In_opt_ _locale_t _Locale)
_CRTIMP char *__cdecl _ltoa(_In_ long _Value, _Pre_notnull_ _Post_z_ char *_Dest, _In_ int _Radix)
_Check_return_ unsigned short __cdecl _byteswap_ushort(_In_ unsigned short _Short)
_CRTIMP __MINGW_ATTRIB_DEPRECATED void __cdecl _beep(_In_ unsigned _Frequency, _In_ unsigned _Duration)
_CRTIMP unsigned int _osver
_CRTIMP char *__cdecl _itoa(_In_ int _Value, _Pre_notnull_ _Post_z_ char *_Dest, _In_ int _Radix)
errno_t __cdecl _get_doserrno(_Out_ unsigned long *_Value)
#define _Inout_updates_bytes_(s)
__MINGW_EXTENSION char *__cdecl ulltoa(unsigned long long, char *, int)
_Success_(return >0) _Check_return_ _CRTIMP size_t __cdecl _mbstrnlen(_In_z_ const char *_Str
void *CDECL _aligned_offset_realloc(void *memblock, size_t size, size_t alignment, size_t offset)
_CRTIMP char *__cdecl itoa(_In_ int _Val, _Pre_notnull_ _Post_z_ char *_DstBuf, _In_ int _Radix)
_CRTIMP char *__cdecl ltoa(_In_ long _Val, _Pre_notnull_ _Post_z_ char *_DstBuf, _In_ int _Radix)
_In_ size_t _In_z_ _Printf_format_string_ const char _In_ const struct tm _In_opt_ _locale_t _Locale
_Check_return_ __MINGW_EXTENSION _CRTIMP unsigned __int64 __cdecl _strtoui64(_In_z_ const char *_String, _Out_opt_ _Deref_post_z_ char **_EndPtr, _In_ int _Radix)
_Check_return_ _CRTIMP int __cdecl _atoflt_l(_Out_ _CRT_FLOAT *_Result, _In_z_ char *_Str, _In_opt_ _locale_t _Locale)
_Check_return_ ldiv_t __cdecl ldiv(_In_ long _Numerator, _In_ long _Denominator)
_Check_return_ _CRTIMP double __cdecl _wtof_l(_In_z_ const wchar_t *_Str, _In_opt_ _locale_t _Locale)
_Check_return_ _CRTIMP char *__cdecl _fcvt(_In_ double _Val, _In_ int _NumOfDec, _Out_ int *_PtDec, _Out_ int *_PtSign)
_CRTIMP void __cdecl swab(_Inout_updates_z_(_SizeInBytes) char *_Buf1, _Inout_updates_z_(_SizeInBytes) char *_Buf2, _In_ int _SizeInBytes)
_Check_return_ __MINGW_EXTENSION _CRTIMP __int64 __cdecl _wtoi64(_In_z_ const wchar_t *_Str)
_Check_return_ _CRTIMP char *__cdecl ecvt(_In_ double _Val, _In_ int _NumOfDigits, _Out_ int *_PtDec, _Out_ int *_PtSign)
_CRTIMP int __cdecl ___mb_cur_max_l_func(_locale_t)
void *CDECL _aligned_malloc(size_t size, size_t alignment)
void *CDECL _aligned_realloc(void *memblock, size_t size, size_t alignment)
__MINGW_EXTENSION unsigned long long __cdecl strtoull(const char *__restrict__, char **__restrict__, int)
_Check_return_ __MINGW_EXTENSION lldiv_t __cdecl lldiv(_In_ long long, _In_ long long)
_Check_return_ __MINGW_EXTENSION _CRTIMP __int64 __cdecl _wtoi64_l(_In_z_ const wchar_t *_Str, _In_opt_ _locale_t _Locale)
__MINGW_EXTENSION __CRT_INLINE long long __cdecl llabs(_In_ long long _j)
_Check_return_ __MINGW_EXTENSION _CRTIMP __int64 __cdecl _wcstoi64_l(_In_z_ const wchar_t *_Str, _Out_opt_ _Deref_post_z_ wchar_t **_EndPtr, _In_ int _Radix, _In_opt_ _locale_t _Locale)
_Check_return_ _CRTIMP double __cdecl _strtod_l(_In_z_ const char *_Str, _Out_opt_ _Deref_post_z_ char **_EndPtr, _In_opt_ _locale_t _Locale)
_Check_return_ div_t __cdecl div(_In_ int _Numerator, _In_ int _Denominator)
_Check_return_ long __cdecl atol(_In_z_ const char *_Str)
_Check_return_ _CRTIMP double __cdecl _wtof(_In_z_ const wchar_t *_Str)
_Check_return_ __MINGW_EXTENSION _CRTIMP __int64 __cdecl _atoi64_l(_In_z_ const char *_String, _In_opt_ _locale_t _Locale)
_CRTIMP void __cdecl _wsplitpath(_In_z_ const wchar_t *_FullPath, _Pre_maybenull_ _Post_z_ wchar_t *_Drive, _Pre_maybenull_ _Post_z_ wchar_t *_Dir, _Pre_maybenull_ _Post_z_ wchar_t *_Filename, _Pre_maybenull_ _Post_z_ wchar_t *_Ext)
errno_t __cdecl _get_winver(_Out_ unsigned int *_Value)
_CRTIMP __MINGW_ATTRIB_DEPRECATED void __cdecl _seterrormode(_In_ int _Mode)
_CRTIMP __MINGW_ATTRIB_DEPRECATED void __cdecl _sleep(_In_ unsigned long _Duration)
_Check_return_ _Ret_maybenull_ _In_ size_t _SizeOfElements
_CRTIMP size_t __cdecl _mbstowcs_l(_Out_writes_opt_z_(_MaxCount) wchar_t *_Dest, _In_z_ const char *_Source, _In_ size_t _MaxCount, _In_opt_ _locale_t _Locale)
_Check_return_ _CRTIMP int __cdecl _wputenv(_In_z_ const wchar_t *_EnvString)
_Check_return_ __MINGW_EXTENSION _CRTIMP unsigned __int64 __cdecl _strtoui64_l(_In_z_ const char *_String, _Out_opt_ _Deref_post_z_ char **_EndPtr, _In_ int _Radix, _In_opt_ _locale_t _Locale)
unsigned int * __p__winver(void)
_CRTIMP errno_t __cdecl _get_fmode(_Out_ int *_PMode)
_Check_return_ _CRTIMP int __cdecl _putenv(_In_z_ const char *_EnvString)
_CRTIMP char ***__cdecl __p__environ()
_Check_return_ double __cdecl wcstod(_In_z_ const wchar_t *_Str, _Out_opt_ _Deref_post_z_ wchar_t **_EndPtr)
_CRTIMP errno_t __cdecl _get_pgmptr(_Outptr_result_z_ char **_Value)
void __cdecl free(_Pre_maybenull_ _Post_invalid_ void *_Memory)
_CRTIMP char *__cdecl ultoa(_In_ unsigned long _Val, _Pre_notnull_ _Post_z_ char *_Dstbuf, _In_ int _Radix)
_Check_return_ _CRTIMP int __cdecl _atoldbl(_Out_ _LDOUBLE *_Result, _In_z_ char *_Str)
float __cdecl strtof(const char *nptr, char **endptr)
_Check_return_ char *__cdecl getenv(_In_z_ const char *_VarName)
_CRTIMP errno_t __cdecl _get_wpgmptr(_Outptr_result_z_ wchar_t **_Value)
#define _Check_return_opt_
long __cdecl labs(_In_ long _X)
_Check_return_ int __cdecl mblen(_In_reads_bytes_opt_(_MaxCount) _Pre_opt_z_ const char *_Ch, _In_ size_t _MaxCount)
_Check_return_opt_ _CRTIMP int __cdecl _set_error_mode(_In_ int _Mode)
_Check_return_ unsigned int __cdecl _rotr(_In_ unsigned int _Val, _In_ int _Shift)
_CRTIMP void __cdecl _searchenv(_In_z_ const char *_Filename, _In_z_ const char *_EnvVar, _Pre_notnull_ _Post_z_ char *_ResultPath)
__MINGW_EXTENSION _CRTIMP char *__cdecl _ui64toa(_In_ unsigned __int64 _Val, _Pre_notnull_ _Post_z_ char *_DstBuf, _In_ int _Radix)
_Check_return_ __MINGW_EXTENSION unsigned __int64 __cdecl _rotr64(_In_ unsigned __int64 _Val, _In_ int _Shift)
_CRTIMP _purecall_handler __cdecl _set_purecall_handler(_In_opt_ _purecall_handler _Handler)
__MINGW_EXTENSION wchar_t *__cdecl lltow(long long, wchar_t *, int)
_Check_return_ unsigned long __cdecl _byteswap_ulong(_In_ unsigned long _Long)
_Check_return_ __MINGW_EXTENSION _CRTIMP __int64 __cdecl _atoi64(_In_z_ const char *_String)
_CRTIMP int __cdecl _wctomb_l(_Pre_maybenull_ _Post_z_ char *_MbCh, _In_ wchar_t _WCh, _In_opt_ _locale_t _Locale)
_Check_return_ _CRTIMP long __cdecl _wtol(_In_z_ const wchar_t *_Str)
_CRTIMP errno_t __cdecl _get_environ(_Out_ char ***)
__MINGW_EXTENSION __int64 __cdecl _abs64(__int64)
_In_ ULONG _In_ ULONG _Inout_updates_(8 *8) ULONG *pul)
_Check_return_ unsigned int __cdecl _rotl(_In_ unsigned int _Val, _In_ int _Shift)
_CRTIMP unsigned int __cdecl _set_abort_behavior(_In_ unsigned int _Flags, _In_ unsigned int _Mask)
_Check_return_ int __cdecl atoi(_In_z_ const char *_Str)
#define _In_reads_bytes_opt_(s)
#define _Out_writes_opt_z_(s)
__declspec(noreturn) void __cdecl exit(_In_ int _Code)
_CRTIMP wchar_t ** __wargv
_Check_return_ long __cdecl strtol(_In_z_ const char *_Str, _Out_opt_ _Deref_post_z_ char **_EndPtr, _In_ int _Radix)
_CRTIMP char *__cdecl _gcvt(_In_ double _Val, _In_ int _NumOfDigits, _Pre_notnull_ _Post_z_ char *_DstBuf)
_Check_return_ _Ret_maybenull_ _In_ size_t _In_ size_t _Offset
void(__cdecl * _invalid_parameter_handler)(const wchar_t *, const wchar_t *, const wchar_t *, unsigned int, uintptr_t)
_Check_return_ unsigned long __cdecl strtoul(_In_z_ const char *_Str, _Out_opt_ _Deref_post_z_ char **_EndPtr, _In_ int _Radix)
_invalid_parameter_handler __cdecl _get_invalid_parameter_handler(void)
_CRTIMP char *__cdecl gcvt(_In_ double _Val, _In_ int _NumOfDigits, _Pre_notnull_ _Post_z_ char *_DstBuf)
long double __cdecl strtold(const char *__restrict__, char **__restrict__)
_Check_return_ _CRTIMP char *__cdecl _ecvt(_In_ double _Val, _In_ int _NumOfDigits, _Out_ int *_PtDec, _Out_ int *_PtSign)
size_t __cdecl wcstombs(_Out_writes_opt_z_(_MaxCount) char *_Dest, _In_z_ const wchar_t *_Source, _In_ size_t _MaxCount)
_CRTIMP unsigned int _winmajor
_Check_return_ _CRTIMP int __cdecl _atodbl(_Out_ _CRT_DOUBLE *_Result, _In_z_ char *_Str)
unsigned int * __p__osver(void)
_CRTIMP wchar_t * _wpgmptr
__MINGW_EXTENSION char *__cdecl lltoa(long long, char *, int)
_Check_return_ _CRTIMP int __cdecl _atodbl_l(_Out_ _CRT_DOUBLE *_Result, _In_z_ char *_Str, _In_opt_ _locale_t _Locale)
_Check_return_ _CRTIMP int __cdecl _wtoi_l(_In_z_ const wchar_t *_Str, _In_opt_ _locale_t _Locale)
_Check_return_ _CRTIMP wchar_t *__cdecl _wgetenv(_In_z_ const wchar_t *_VarName)
_CRTIMP wchar_t **__cdecl __p__wpgmptr()
unsigned int(__cdecl typeof(jpeg_read_scanlines))(struct jpeg_decompress_struct *
#define _Inout_updates_z_(s)
_Check_return_ unsigned long __cdecl _lrotr(_In_ unsigned long _Val, _In_ int _Shift)
onexit_t __cdecl onexit(_In_opt_ onexit_t _Func)
__MINGW_EXTENSION wchar_t *__cdecl ulltow(unsigned long long, wchar_t *, int)
_Check_return_ _CRTIMP size_t __cdecl _mbstrnlen_l(_In_z_ const char *_Str, _In_ size_t _MaxCount, _In_opt_ _locale_t _Locale)