STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
stdlib.h
Go to the documentation of this file.
1 //
2 // stdlib.h
3 //
4 // Copyright (c) Microsoft Corporation. All rights reserved.
5 //
6 // The C Standard Library <stdlib.h> header.
7 //
8 #pragma once
9 #define _INC_STDLIB
10 
11 #include <corecrt.h>
12 #include <corecrt_malloc.h>
13 #include <corecrt_search.h>
14 #include <corecrt_wstdlib.h>
15 #include <limits.h>
16 
18 
19 
20 
21 #ifndef _countof
22  #define _countof __crt_countof
23 #endif
24 
25 
26 
27 // Minimum and maximum macros
28 #define __max(a,b) (((a) > (b)) ? (a) : (b))
29 #define __min(a,b) (((a) < (b)) ? (a) : (b))
30 
31 
32 
33 _ACRTIMP void __cdecl _swab(
36  _In_ int _SizeInBytes
37  );
38 
39 
40 
41 //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
42 //
43 // Exit and Abort
44 //
45 //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
46 // Argument values for exit()
47 #define EXIT_SUCCESS 0
48 #define EXIT_FAILURE 1
49 
50 #if _CRT_FUNCTIONS_REQUIRED
51  _ACRTIMP __declspec(noreturn) void __cdecl exit(_In_ int _Code);
52  _ACRTIMP __declspec(noreturn) void __cdecl _exit(_In_ int _Code);
53  _ACRTIMP __declspec(noreturn) void __cdecl _Exit(_In_ int _Code);
54  _ACRTIMP __declspec(noreturn) void __cdecl quick_exit(_In_ int _Code);
55  _ACRTIMP __declspec(noreturn) void __cdecl abort(void);
56 #endif // _CRT_FUNCTIONS_REQUIRED
57 
58 // Argument values for _set_abort_behavior().
59 #define _WRITE_ABORT_MSG 0x1 // debug only, has no effect in release
60 #define _CALL_REPORTFAULT 0x2
61 
62 _ACRTIMP unsigned int __cdecl _set_abort_behavior(
63  _In_ unsigned int _Flags,
64  _In_ unsigned int _Mask
65  );
66 
67 
68 
69 #ifndef _CRT_ONEXIT_T_DEFINED
70  #define _CRT_ONEXIT_T_DEFINED
71 
72  typedef int (__CRTDECL* _onexit_t)(void);
73  #ifdef _M_CEE
74  typedef int (__clrcall* _onexit_m_t)(void);
75  #endif
76 #endif
77 
78 #if _CRT_INTERNAL_NONSTDC_NAMES
79  // Non-ANSI name for compatibility
80  #define onexit_t _onexit_t
81 #endif
82 
83 
84 
85 #ifdef _M_CEE
86  #pragma warning (push)
87  #pragma warning (disable: 4985)
88 
89  _Check_return_ int __clrcall _atexit_m_appdomain(_In_opt_ void (__clrcall* _Function)(void));
90 
91  _onexit_m_t __clrcall _onexit_m_appdomain(_onexit_m_t _Function);
92 
93  #ifdef _M_CEE_MIXED
94  #ifdef __cplusplus
95  [System::Security::SecurityCritical]
96  #endif
97  _Check_return_ int __clrcall _atexit_m(_In_opt_ void (__clrcall* _Function)(void));
98 
99  _onexit_m_t __clrcall _onexit_m(_onexit_m_t _Function);
100  #else
101  #ifdef __cplusplus
102  [System::Security::SecurityCritical]
103  #endif
104  _Check_return_ inline int __clrcall _atexit_m(_In_opt_ void (__clrcall* _Function)(void))
105  {
106  return _atexit_m_appdomain(_Function);
107  }
108 
109  inline _onexit_m_t __clrcall _onexit_m(_onexit_t _Function)
110  {
111  return _onexit_m_appdomain(_Function);
112  }
113  #endif
114  #pragma warning (pop)
115 #endif
116 
117 
118 
119 #ifdef _M_CEE_PURE
120  // In pure mode, atexit is the same as atexit_m_appdomain
121  extern "C++"
122  {
123 
124  #ifdef __cplusplus
125  [System::Security::SecurityCritical]
126  #endif
127  inline int __clrcall atexit(void (__clrcall* _Function)(void))
128  {
129  return _atexit_m_appdomain(_Function);
130  }
131 
132  inline _onexit_t __clrcall _onexit(_onexit_t _Function)
133  {
134  return _onexit_m_appdomain(_Function);
135  }
136 
137  } // extern "C++"
138 #else
139  int __cdecl atexit(void (__cdecl*)(void));
140  _onexit_t __cdecl _onexit(_In_opt_ _onexit_t _Func);
141 #endif
142 
143 int __cdecl at_quick_exit(void (__cdecl*)(void));
144 
145 
146 
147 //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
148 //
149 // Global State (errno, global handlers, etc.)
150 //
151 //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
152 #ifndef _M_CEE_PURE
153  // a purecall handler procedure. Never returns normally
154  typedef void (__cdecl* _purecall_handler)(void);
155 
156  // Invalid parameter handler function pointer type
157  typedef void (__cdecl* _invalid_parameter_handler)(
158  wchar_t const*,
159  wchar_t const*,
160  wchar_t const*,
161  unsigned int,
162  uintptr_t
163  );
164 
165  // Establishes a purecall handler
167  _In_opt_ _purecall_handler _Handler
168  );
169 
171 
172  // Establishes an invalid parameter handler
175  );
176 
178 
181  );
182 
184 #endif
185 
186 
187 #if defined __cplusplus && defined _M_CEE_PURE
188 extern "C++"
189 {
190  typedef void (__clrcall* _purecall_handler)(void);
191  typedef _purecall_handler _purecall_handler_m;
192 
194  _In_opt_ _purecall_handler _Handler
195  );
196 } // extern "C++"
197 #endif
198 
199 
200 
201 // Argument values for _set_error_mode().
202 #define _OUT_TO_DEFAULT 0
203 #define _OUT_TO_STDERR 1
204 #define _OUT_TO_MSGBOX 2
205 #define _REPORT_ERRMODE 3
206 
208 
209 
210 
211 #if _CRT_FUNCTIONS_REQUIRED
212  _ACRTIMP int* __cdecl _errno(void);
213  #define errno (*_errno())
214 
215  _ACRTIMP errno_t __cdecl _set_errno(_In_ int _Value);
216  _ACRTIMP errno_t __cdecl _get_errno(_Out_ int* _Value);
217 
218  _ACRTIMP unsigned long* __cdecl __doserrno(void);
219  #define _doserrno (*__doserrno())
220 
221  _ACRTIMP errno_t __cdecl _set_doserrno(_In_ unsigned long _Value);
222  _ACRTIMP errno_t __cdecl _get_doserrno(_Out_ unsigned long * _Value);
223 
224  // This is non-const for backwards compatibility; do not modify it.
225  _ACRTIMP _CRT_INSECURE_DEPRECATE(strerror) char** __cdecl __sys_errlist(void);
226  #define _sys_errlist (__sys_errlist())
227 
228  _ACRTIMP _CRT_INSECURE_DEPRECATE(strerror) int * __cdecl __sys_nerr(void);
229  #define _sys_nerr (*__sys_nerr())
230 
231  _ACRTIMP void __cdecl perror(_In_opt_z_ char const* _ErrMsg);
232 #endif // _CRT_FUNCTIONS_REQUIRED
233 
234 
235 
236 // These point to the executable module name.
237 _CRT_INSECURE_DEPRECATE_GLOBALS(_get_pgmptr ) _ACRTIMP char** __cdecl __p__pgmptr (void);
238 _CRT_INSECURE_DEPRECATE_GLOBALS(_get_wpgmptr) _ACRTIMP wchar_t** __cdecl __p__wpgmptr(void);
239 _CRT_INSECURE_DEPRECATE_GLOBALS(_get_fmode ) _ACRTIMP int* __cdecl __p__fmode (void);
240 
241 #ifdef _CRT_DECLARE_GLOBAL_VARIABLES_DIRECTLY
242  _CRT_INSECURE_DEPRECATE_GLOBALS(_get_pgmptr ) extern char* _pgmptr;
243  _CRT_INSECURE_DEPRECATE_GLOBALS(_get_wpgmptr) extern wchar_t* _wpgmptr;
244  #ifndef _CORECRT_BUILD
246  #endif
247 #else
248  #define _pgmptr (*__p__pgmptr ())
249  #define _wpgmptr (*__p__wpgmptr())
250  #define _fmode (*__p__fmode ())
251 #endif
252 
253 _Success_(return == 0)
254 _ACRTIMP errno_t __cdecl _get_pgmptr (_Outptr_result_z_ char** _Value);
255 
256 _Success_(return == 0)
257 _ACRTIMP errno_t __cdecl _get_wpgmptr(_Outptr_result_z_ wchar_t** _Value);
258 
259 _ACRTIMP errno_t __cdecl _set_fmode (_In_ int _Mode );
260 
261 _ACRTIMP errno_t __cdecl _get_fmode (_Out_ int* _PMode);
262 
263 
264 
265 //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
266 //
267 // Math
268 //
269 //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
270 typedef struct _div_t
271 {
272  int quot;
273  int rem;
274 } div_t;
275 
276 typedef struct _ldiv_t
277 {
278  long quot;
279  long rem;
280 } ldiv_t;
281 
282 typedef struct _lldiv_t
283 {
284  long long quot;
285  long long rem;
286 } lldiv_t;
287 
288 _Check_return_ int __cdecl abs (_In_ int _Number);
289 _Check_return_ long __cdecl labs (_In_ long _Number);
290 _Check_return_ long long __cdecl llabs (_In_ long long _Number);
291 _Check_return_ __int64 __cdecl _abs64(_In_ __int64 _Number);
292 
293 _Check_return_ unsigned short __cdecl _byteswap_ushort(_In_ unsigned short _Number);
294 _Check_return_ unsigned long __cdecl _byteswap_ulong (_In_ unsigned long _Number);
295 _Check_return_ unsigned __int64 __cdecl _byteswap_uint64(_In_ unsigned __int64 _Number);
296 
297 _Check_return_ _ACRTIMP div_t __cdecl div (_In_ int _Numerator, _In_ int _Denominator);
298 _Check_return_ _ACRTIMP ldiv_t __cdecl ldiv (_In_ long _Numerator, _In_ long _Denominator);
299 _Check_return_ _ACRTIMP lldiv_t __cdecl lldiv(_In_ long long _Numerator, _In_ long long _Denominator);
300 
301 // These functions have declspecs in their declarations in the Windows headers,
302 // which cause PREfast to fire 6540.
303 #pragma warning (push)
304 #pragma warning (disable:6540)
305 
306 unsigned int __cdecl _rotl(
307  _In_ unsigned int _Value,
308  _In_ int _Shift
309  );
310 
312 unsigned long __cdecl _lrotl(
313  _In_ unsigned long _Value,
314  _In_ int _Shift
315  );
316 
317 unsigned __int64 __cdecl _rotl64(
318  _In_ unsigned __int64 _Value,
319  _In_ int _Shift
320  );
321 
322 unsigned int __cdecl _rotr(
323  _In_ unsigned int _Value,
324  _In_ int _Shift
325  );
326 
328 unsigned long __cdecl _lrotr(
329  _In_ unsigned long _Value,
330  _In_ int _Shift
331  );
332 
333 unsigned __int64 __cdecl _rotr64(
334  _In_ unsigned __int64 _Value,
335  _In_ int _Shift
336  );
337 
338 #pragma warning (pop)
339 
340 
341 
342 // Maximum value that can be returned by the rand function:
343 #define RAND_MAX 0x7fff
344 
345 _ACRTIMP void __cdecl srand(_In_ unsigned int _Seed);
346 
347 _Check_return_ _ACRTIMP int __cdecl rand(void);
348 
349 #if defined _CRT_RAND_S || defined _CRTBLD
350  _ACRTIMP errno_t __cdecl rand_s(_Out_ unsigned int* _RandomValue);
351 #endif
352 
353 
354 
355 #ifdef __cplusplus
356 extern "C++"
357 {
358  inline long abs(long const _X) throw()
359  {
360  return labs(_X);
361  }
362 
363  inline long long abs(long long const _X) throw()
364  {
365  return llabs(_X);
366  }
367 
368  inline ldiv_t div(long const _A1, long const _A2) throw()
369  {
370  return ldiv(_A1, _A2);
371  }
372 
373  inline lldiv_t div(long long const _A1, long long const _A2) throw()
374  {
375  return lldiv(_A1, _A2);
376  }
377 }
378 #endif // __cplusplus
379 
380 
381 
382 
383 // Structs used to fool the compiler into not generating floating point
384 // instructions when copying and pushing [long] double values
385 #define _CRT_DOUBLE_DEC
386 
387 #ifndef _LDSUPPORT
388 
389  #pragma pack(push, 4)
390  typedef struct
391  {
392  unsigned char ld[10];
393  } _LDOUBLE;
394  #pragma pack(pop)
395 
396  #define _PTR_LD(x) ((unsigned char*)(&(x)->ld))
397 
398 #else // _LDSUPPORT
399 
400  // push and pop long, which is #defined as __int64 by a spec2k test
401  #pragma push_macro("long")
402  #undef long
403  typedef long double _LDOUBLE;
404  #pragma pop_macro("long")
405 
406  #define _PTR_LD(x) ((unsigned char *)(x))
407 
408 #endif // _LDSUPPORT
409 
410 typedef struct
411 {
412  double x;
413 } _CRT_DOUBLE;
414 
415 typedef struct
416 {
417  float f;
418 } _CRT_FLOAT;
419 
420 // push and pop long, which is #defined as __int64 by a spec2k test
421 #pragma push_macro("long")
422 #undef long
423 
424 typedef struct
425 {
426  long double x;
427 } _LONGDOUBLE;
428 
429 #pragma pop_macro("long")
430 
431 #pragma pack(push, 4)
432 typedef struct
433 {
434  unsigned char ld12[12];
435 } _LDBL12;
436 #pragma pack(pop)
437 
438 
439 
440 //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
441 //
442 // Narrow String to Number Conversions
443 //
444 //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
445 _Check_return_ _ACRTIMP double __cdecl atof (_In_z_ char const* _String);
446 _Check_return_ _CRT_JIT_INTRINSIC _ACRTIMP int __cdecl atoi (_In_z_ char const* _String);
447 _Check_return_ _ACRTIMP long __cdecl atol (_In_z_ char const* _String);
448 _Check_return_ _ACRTIMP long long __cdecl atoll (_In_z_ char const* _String);
449 _Check_return_ _ACRTIMP __int64 __cdecl _atoi64(_In_z_ char const* _String);
450 
451 _Check_return_ _ACRTIMP double __cdecl _atof_l (_In_z_ char const* _String, _In_opt_ _locale_t _Locale);
454 _Check_return_ _ACRTIMP long long __cdecl _atoll_l (_In_z_ char const* _String, _In_opt_ _locale_t _Locale);
456 
459 _Check_return_ _ACRTIMP int __cdecl _atoldbl(_Out_ _LDOUBLE* _Result, _In_z_ char* _String);
460 
462 _ACRTIMP int __cdecl _atoflt_l(
464  _In_z_ char const* _String,
466  );
467 
469 _ACRTIMP int __cdecl _atodbl_l(
471  _In_z_ char* _String,
473  );
474 
475 
477 _ACRTIMP int __cdecl _atoldbl_l(
478  _Out_ _LDOUBLE* _Result,
479  _In_z_ char* _String,
481  );
482 
484 _ACRTIMP float __cdecl strtof(
485  _In_z_ char const* _String,
486  _Out_opt_ _Deref_post_z_ char** _EndPtr
487  );
488 
490 _ACRTIMP float __cdecl _strtof_l(
491  _In_z_ char const* _String,
492  _Out_opt_ _Deref_post_z_ char** _EndPtr,
494  );
495 
497 _ACRTIMP double __cdecl strtod(
498  _In_z_ char const* _String,
499  _Out_opt_ _Deref_post_z_ char** _EndPtr
500  );
501 
503 _ACRTIMP double __cdecl _strtod_l(
504  _In_z_ char const* _String,
505  _Out_opt_ _Deref_post_z_ char** _EndPtr,
507  );
508 
510 _ACRTIMP long double __cdecl strtold(
511  _In_z_ char const* _String,
512  _Out_opt_ _Deref_post_z_ char** _EndPtr
513  );
514 
516 _ACRTIMP long double __cdecl _strtold_l(
517  _In_z_ char const* _String,
518  _Out_opt_ _Deref_post_z_ char** _EndPtr,
520  );
521 
523 _ACRTIMP long __cdecl strtol(
524  _In_z_ char const* _String,
525  _Out_opt_ _Deref_post_z_ char** _EndPtr,
526  _In_ int _Radix
527  );
528 
530 _ACRTIMP long __cdecl _strtol_l(
531  _In_z_ char const* _String,
532  _Out_opt_ _Deref_post_z_ char** _EndPtr,
533  _In_ int _Radix,
535  );
536 
538 _ACRTIMP long long __cdecl strtoll(
539  _In_z_ char const* _String,
540  _Out_opt_ _Deref_post_z_ char** _EndPtr,
541  _In_ int _Radix
542  );
543 
545 _ACRTIMP long long __cdecl _strtoll_l(
546  _In_z_ char const* _String,
547  _Out_opt_ _Deref_post_z_ char** _EndPtr,
548  _In_ int _Radix,
550  );
551 
553 _ACRTIMP unsigned long __cdecl strtoul(
554  _In_z_ char const* _String,
555  _Out_opt_ _Deref_post_z_ char** _EndPtr,
556  _In_ int _Radix
557  );
558 
560 _ACRTIMP unsigned long __cdecl _strtoul_l(
561  _In_z_ char const* _String,
562  _Out_opt_ _Deref_post_z_ char** _EndPtr,
563  _In_ int _Radix,
565  );
566 
568 _ACRTIMP unsigned long long __cdecl strtoull(
569  _In_z_ char const* _String,
570  _Out_opt_ _Deref_post_z_ char** _EndPtr,
571  _In_ int _Radix
572  );
573 
575 _ACRTIMP unsigned long long __cdecl _strtoull_l(
576  _In_z_ char const* _String,
577  _Out_opt_ _Deref_post_z_ char** _EndPtr,
578  _In_ int _Radix,
580  );
581 
583 _ACRTIMP __int64 __cdecl _strtoi64(
584  _In_z_ char const* _String,
585  _Out_opt_ _Deref_post_z_ char** _EndPtr,
586  _In_ int _Radix
587  );
588 
590 _ACRTIMP __int64 __cdecl _strtoi64_l(
591  _In_z_ char const* _String,
592  _Out_opt_ _Deref_post_z_ char** _EndPtr,
593  _In_ int _Radix,
595  );
596 
598 _ACRTIMP unsigned __int64 __cdecl _strtoui64(
599  _In_z_ char const* _String,
600  _Out_opt_ _Deref_post_z_ char** _EndPtr,
601  _In_ int _Radix
602  );
603 
605 _ACRTIMP unsigned __int64 __cdecl _strtoui64_l(
606  _In_z_ char const* _String,
607  _Out_opt_ _Deref_post_z_ char** _EndPtr,
608  _In_ int _Radix,
610  );
611 
612 
613 
614 //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
615 //
616 // Number to Narrow String Conversions
617 //
618 //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
619 _Success_(return == 0)
621 _ACRTIMP errno_t __cdecl _itoa_s(
622  _In_ int _Value,
625  _In_ int _Radix
626  );
627 
629  _Success_(return == 0)
630  errno_t, _itoa_s,
631  _In_ int, _Value,
632  char, _Buffer,
633  _In_ int, _Radix
634  )
635 
636 #pragma warning(push)
637 #pragma warning(disable: 28719) // __WARNING_BANNED_API_USAGE
638 #pragma warning(disable: 28726) // __WARNING_BANNED_API_USAGEL2
641  _In_ int, _Value,
642  _Pre_notnull_ _Post_z_, char, _Buffer,
643  _In_ int, _Radix
644  )
645 #pragma warning(pop)
646 
647 _Success_(return == 0)
649 _ACRTIMP errno_t __cdecl _ltoa_s(
650  _In_ long _Value,
651  _Out_writes_z_(_BufferCount) char* _Buffer,
652  _In_ size_t _BufferCount,
653  _In_ int _Radix
654  );
655 
657  errno_t, _ltoa_s,
658  _In_ long, _Value,
659  char, _Buffer,
660  _In_ int, _Radix
661  )
662 
665  _In_ long, _Value,
666  _Pre_notnull_ _Post_z_, char, _Buffer,
667  _In_ int, _Radix
668  )
669 
670 _Success_(return == 0)
672 _ACRTIMP errno_t __cdecl _ultoa_s(
673  _In_ unsigned long _Value,
674  _Out_writes_z_(_BufferCount) char* _Buffer,
675  _In_ size_t _BufferCount,
676  _In_ int _Radix
677  );
678 
680  errno_t, _ultoa_s,
681  _In_ unsigned long, _Value,
682  char, _Buffer,
683  _In_ int, _Radix
684  )
685 
686 #pragma warning(push)
687 #pragma warning(disable: 28726) // __WARNING_BANNED_API_USAGEL2
690  _In_ unsigned long, _Value,
691  _Pre_notnull_ _Post_z_, char, _Buffer,
692  _In_ int, _Radix
693  )
694 #pragma warning(pop)
695 
696 _Success_(return == 0)
698 _ACRTIMP errno_t __cdecl _i64toa_s(
699  _In_ __int64 _Value,
700  _Out_writes_z_(_BufferCount) char* _Buffer,
701  _In_ size_t _BufferCount,
702  _In_ int _Radix
703  );
704 
705 _Success_(return == 0)
706 _CRT_INSECURE_DEPRECATE(_i64toa_s)
707 _ACRTIMP char* __cdecl _i64toa(
708  _In_ __int64 _Value,
709  _Pre_notnull_ _Post_z_ char* _Buffer,
710  _In_ int _Radix
711  );
712 
713 _Success_(return == 0)
715 _ACRTIMP errno_t __cdecl _ui64toa_s(
716  _In_ unsigned __int64 _Value,
717  _Out_writes_z_(_BufferCount) char* _Buffer,
718  _In_ size_t _BufferCount,
719  _In_ int _Radix
720  );
721 
722 _CRT_INSECURE_DEPRECATE(_ui64toa_s)
723 _ACRTIMP char* __cdecl _ui64toa(
724  _In_ unsigned __int64 _Value,
725  _Pre_notnull_ _Post_z_ char* _Buffer,
726  _In_ int _Radix
727  );
728 
729 
730 
731 // _CVTBUFSIZE is the maximum size for the per-thread conversion buffer. It
732 // should be at least as long as the number of digits in the largest double
733 // precision value (?.?e308 in IEEE arithmetic). We will use the same size
734 // buffer as is used in the printf support routines.
735 //
736 // (This value actually allows 40 additional decimal places; even though there
737 // are only 16 digits of accuracy in a double precision IEEE number, the user may
738 // ask for more to effect zero padding.)
739 #define _CVTBUFSIZE (309 + 40) // # of digits in max. dp value + slop
740 
741 _Success_(return == 0)
743 _ACRTIMP errno_t __cdecl _ecvt_s(
744  _Out_writes_z_(_BufferCount) char* _Buffer,
745  _In_ size_t _BufferCount,
746  _In_ double _Value,
747  _In_ int _DigitCount,
748  _Out_ int* _PtDec,
749  _Out_ int* _PtSign
750  );
751 
753  errno_t, _ecvt_s,
754  char, _Buffer,
755  _In_ double, _Value,
756  _In_ int, _DigitCount,
757  _Out_ int*, _PtDec,
758  _Out_ int*, _PtSign
759  )
760 
762 _ACRTIMP char* __cdecl _ecvt(
763  _In_ double _Value,
764  _In_ int _DigitCount,
765  _Out_ int* _PtDec,
766  _Out_ int* _PtSign
767  );
768 
769 _Success_(return == 0)
771 _ACRTIMP errno_t __cdecl _fcvt_s(
772  _Out_writes_z_(_BufferCount) char* _Buffer,
773  _In_ size_t _BufferCount,
774  _In_ double _Value,
776  _Out_ int* _PtDec,
777  _Out_ int* _PtSign
778  );
779 
781  _Success_(return == 0)
782  errno_t, _fcvt_s,
783  char, _Buffer,
784  _In_ double, _Value,
785  _In_ int, _FractionalDigitCount,
786  _Out_ int*, _PtDec,
787  _Out_ int*, _PtSign
788  )
789 
790 _Success_(return == 0)
792 _ACRTIMP char* __cdecl _fcvt(
793  _In_ double _Value,
794  _In_ int _FractionalDigitCount,
795  _Out_ int* _PtDec,
796  _Out_ int* _PtSign
797  );
798 
799 _Success_(return == 0)
800 _ACRTIMP errno_t __cdecl _gcvt_s(
801  _Out_writes_z_(_BufferCount) char* _Buffer,
802  _In_ size_t _BufferCount,
803  _In_ double _Value,
804  _In_ int _DigitCount
805  );
806 
808  _Success_(return == 0)
809  errno_t, _gcvt_s,
810  char, _Buffer,
811  _In_ double, _Value,
812  _In_ int, _DigitCount
813  )
814 
816 _ACRTIMP char* __cdecl _gcvt(
817  _In_ double _Value,
818  _In_ int _DigitCount,
819  _Pre_notnull_ _Post_z_ char* _Buffer
820  );
821 
822 
823 
824 //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
825 //
826 // Multibyte String Operations and Conversions
827 //
828 //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
829 // Maximum number of bytes in multi-byte character in the current locale
830 // (also defined in ctype.h).
831 #ifndef MB_CUR_MAX
832  #if defined _CRT_DISABLE_PERFCRIT_LOCKS && !defined _DLL
833  #define MB_CUR_MAX __mb_cur_max
834  #else
835  #define MB_CUR_MAX ___mb_cur_max_func()
836  #endif
837 
838  #ifdef _CRT_DECLARE_GLOBAL_VARIABLES_DIRECTLY
839  extern int __mb_cur_max;
840  #else
841  #define __mb_cur_max (___mb_cur_max_func())
842  #endif
843 
844  _Post_satisfies_(return > 0 && return < MB_LEN_MAX)
845  _ACRTIMP int __cdecl ___mb_cur_max_func(void);
846 
848  _ACRTIMP int __cdecl ___mb_cur_max_l_func(_locale_t _Locale);
849 #endif
850 
851 
852 
854 _ACRTIMP int __cdecl mblen(
856  _In_ size_t _MaxCount
857  );
858 
860 _ACRTIMP int __cdecl _mblen_l(
862  _In_ size_t _MaxCount,
863  _In_opt_ _locale_t _Locale
864  );
865 
867 _Post_satisfies_(return <= _String_length_(_String))
868 _ACRTIMP size_t __cdecl _mbstrlen(
869  _In_z_ char const* _String
870  );
871 
873 _Post_satisfies_(return <= _String_length_(_String) || return == (size_t)-1)
874 _ACRTIMP size_t __cdecl _mbstrlen_l(
875  _In_z_ char const* _String,
876  _In_opt_ _locale_t _Locale
877  );
878 
880 _Post_satisfies_((return <= _String_length_(_String) && return <= _MaxCount) || return == (size_t)-1)
881 _ACRTIMP size_t __cdecl _mbstrnlen(
882  _In_z_ char const* _String,
883  _In_ size_t _MaxCount
884  );
885 
886 _Post_satisfies_((return <= _String_length_(_String) && return <= _MaxCount) || return == (size_t)-1)
888 _ACRTIMP size_t __cdecl _mbstrnlen_l(
889  _In_z_ char const* _String,
890  _In_ size_t _MaxCount,
891  _In_opt_ _locale_t _Locale
892  );
893 
894 _Success_(return != -1)
895 _ACRTIMP int __cdecl mbtowc(
896  _Pre_notnull_ _Post_z_ wchar_t* _DstCh,
897  _In_reads_or_z_opt_(_SrcSizeInBytes) char const* _SrcCh,
898  _In_ size_t _SrcSizeInBytes
899  );
900 
901 _Success_(return != -1)
902 _ACRTIMP int __cdecl _mbtowc_l(
903  _Pre_notnull_ _Post_z_ wchar_t* _DstCh,
904  _In_reads_or_z_opt_(_SrcSizeInBytes) char const* _SrcCh,
905  _In_ size_t _SrcSizeInBytes,
906  _In_opt_ _locale_t _Locale
907  );
908 
910 _ACRTIMP errno_t __cdecl mbstowcs_s(
911  _Out_opt_ size_t* _PtNumOfCharConverted,
912  _Out_writes_to_opt_(_SizeInWords, *_PtNumOfCharConverted) wchar_t* _DstBuf,
913  _In_ size_t _SizeInWords,
914  _In_reads_or_z_(_MaxCount) char const* _SrcBuf,
915  _In_ size_t _MaxCount
916  );
917 
919  errno_t, mbstowcs_s,
920  _Out_opt_ size_t*, _PtNumOfCharConverted,
921  _Post_z_ wchar_t, _Dest,
922  _In_z_ char const*, _Source,
923  _In_ size_t, _MaxCount
924  )
925 
928  _Out_writes_opt_z_(_MaxCount), wchar_t, _Dest,
929  _In_z_ char const*, _Source,
930  _In_ size_t, _MaxCount
931  )
932 
934 _ACRTIMP errno_t __cdecl _mbstowcs_s_l(
935  _Out_opt_ size_t* _PtNumOfCharConverted,
936  _Out_writes_to_opt_(_SizeInWords, *_PtNumOfCharConverted) wchar_t* _DstBuf,
937  _In_ size_t _SizeInWords,
938  _In_reads_or_z_(_MaxCount) char const* _SrcBuf,
939  _In_ size_t _MaxCount,
940  _In_opt_ _locale_t _Locale
941  );
942 
944  errno_t, _mbstowcs_s_l,
945  _Out_opt_ size_t*, _PtNumOfCharConverted,
946  _Post_z_ wchar_t, _Dest,
947  _In_z_ char const*, _Source,
948  _In_ size_t, _MaxCount,
949  _In_opt_ _locale_t, _Locale
950  )
951 
953  _ACRTIMP, _mbstowcs_l, _mbstowcs_s_l,
954  _Out_writes_opt_z_(_Size) wchar_t,
955  _Out_writes_z_(_MaxCount), wchar_t, _Dest,
956  _In_z_ char const*, _Source,
957  _In_ size_t, _MaxCount,
958  _In_opt_ _locale_t, _Locale
959  )
960 
961 
962 
963 
965 _ACRTIMP int __cdecl wctomb(
966  _Out_writes_opt_z_(MB_LEN_MAX) char* _MbCh,
967  _In_ wchar_t _WCh
968  );
969 
971 _ACRTIMP int __cdecl _wctomb_l(
972  _Pre_maybenull_ _Post_z_ char* _MbCh,
973  _In_ wchar_t _WCh,
974  _In_opt_ _locale_t _Locale
975  );
976 
977 #if __STDC_WANT_SECURE_LIB__
978 
980  _ACRTIMP errno_t __cdecl wctomb_s(
981  _Out_opt_ int* _SizeConverted,
982  _Out_writes_bytes_to_opt_(_SizeInBytes, *_SizeConverted) char* _MbCh,
984  _In_ wchar_t _WCh
985  );
986 
987 #endif // __STDC_WANT_SECURE_LIB__
988 
990 _ACRTIMP errno_t __cdecl _wctomb_s_l(
991  _Out_opt_ int* _SizeConverted,
992  _Out_writes_opt_z_(_SizeInBytes) char* _MbCh,
993  _In_ size_t _SizeInBytes,
994  _In_ wchar_t _WCh,
995  _In_opt_ _locale_t _Locale);
996 
998 _ACRTIMP errno_t __cdecl wcstombs_s(
999  _Out_opt_ size_t* _PtNumOfCharConverted,
1000  _Out_writes_bytes_to_opt_(_DstSizeInBytes, *_PtNumOfCharConverted) char* _Dst,
1001  _In_ size_t _DstSizeInBytes,
1002  _In_z_ wchar_t const* _Src,
1003  _In_ size_t _MaxCountInBytes
1004  );
1005 
1007  errno_t, wcstombs_s,
1008  _Out_opt_ size_t*, _PtNumOfCharConverted,
1009  _Out_writes_bytes_opt_(_Size) char, _Dest,
1010  _In_z_ wchar_t const*, _Source,
1011  _In_ size_t, _MaxCount
1012  )
1013 
1016  _Out_writes_opt_(_MaxCount), char, _Dest,
1017  _In_z_ wchar_t const*, _Source,
1018  _In_ size_t, _MaxCount
1019  )
1020 
1022 _ACRTIMP errno_t __cdecl _wcstombs_s_l(
1023  _Out_opt_ size_t* _PtNumOfCharConverted,
1024  _Out_writes_bytes_to_opt_(_DstSizeInBytes, *_PtNumOfCharConverted) char* _Dst,
1025  _In_ size_t _DstSizeInBytes,
1026  _In_z_ wchar_t const* _Src,
1027  _In_ size_t _MaxCountInBytes,
1028  _In_opt_ _locale_t _Locale
1029  );
1030 
1032  errno_t, _wcstombs_s_l,
1033  _Out_opt_ size_t*, _PtNumOfCharConverted,
1034  _Out_writes_opt_(_Size) char, _Dest,
1035  _In_z_ wchar_t const*, _Source,
1036  _In_ size_t, _MaxCount,
1037  _In_opt_ _locale_t, _Locale
1038  )
1039 
1041  _ACRTIMP, _wcstombs_l, _wcstombs_s_l,
1042  _Out_writes_opt_z_(_Size) char,
1043  _Out_writes_(_MaxCount), char, _Dest,
1044  _In_z_ wchar_t const*, _Source,
1045  _In_ size_t, _MaxCount,
1046  _In_opt_ _locale_t, _Locale
1047  )
1048 
1049 
1050 
1051 //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
1052 //
1053 // Path Manipulation
1054 //
1055 //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
1056 // Sizes for buffers used by the _makepath() and _splitpath() functions.
1057 // note that the sizes include space for 0-terminator
1058 #define _MAX_PATH 260 // max. length of full pathname
1059 #define _MAX_DRIVE 3 // max. length of drive component
1060 #define _MAX_DIR 256 // max. length of path component
1061 #define _MAX_FNAME 256 // max. length of file name component
1062 #define _MAX_EXT 256 // max. length of extension component
1063 
1064 
1065 #pragma push_macro("_fullpath")
1066 #undef _fullpath
1067 
1068 _Success_(return != 0)
1070 _ACRTIMP _CRTALLOCATOR char* __cdecl _fullpath(
1071  _Out_writes_opt_z_(_BufferCount) char* _Buffer,
1072  _In_z_ char const* _Path,
1073  _In_ size_t _BufferCount
1074  );
1075 
1076 #pragma pop_macro("_fullpath")
1077 
1079 _ACRTIMP errno_t __cdecl _makepath_s(
1080  _Out_writes_z_(_BufferCount) char* _Buffer,
1081  _In_ size_t _BufferCount,
1082  _In_opt_z_ char const* _Drive,
1083  _In_opt_z_ char const* _Dir,
1084  _In_opt_z_ char const* _Filename,
1085  _In_opt_z_ char const* _Ext
1086  );
1087 
1089  errno_t, _makepath_s,
1090  char, _Buffer,
1091  _In_opt_z_ char const*, _Drive,
1092  _In_opt_z_ char const*, _Dir,
1093  _In_opt_z_ char const*, _Filename,
1094  _In_opt_z_ char const*, _Ext
1095  )
1096 
1097 #pragma warning(push)
1098 #pragma warning(disable: 28719) // __WARNING_BANNED_API_USAGE
1099 #pragma warning(disable: 28726) // __WARNING_BANNED_API_USAGEL2
1102  _Pre_notnull_ _Post_z_, char, _Buffer,
1103  _In_opt_z_ char const*, _Drive,
1104  _In_opt_z_ char const*, _Dir,
1105  _In_opt_z_ char const*, _Filename,
1106  _In_opt_z_ char const*, _Ext
1107  )
1108 #pragma warning(pop)
1109 
1111 _ACRTIMP void __cdecl _splitpath(
1112  _In_z_ char const* _FullPath,
1113  _Pre_maybenull_ _Post_z_ char* _Drive,
1114  _Pre_maybenull_ _Post_z_ char* _Dir,
1115  _Pre_maybenull_ _Post_z_ char* _Filename,
1116  _Pre_maybenull_ _Post_z_ char* _Ext
1117  );
1118 
1120 _ACRTIMP errno_t __cdecl _splitpath_s(
1121  _In_z_ char const* _FullPath,
1122  _Out_writes_opt_z_(_DriveCount) char* _Drive,
1123  _In_ size_t _DriveCount,
1124  _Out_writes_opt_z_(_DirCount) char* _Dir,
1125  _In_ size_t _DirCount,
1126  _Out_writes_opt_z_(_FilenameCount) char* _Filename,
1127  _In_ size_t _FilenameCount,
1128  _Out_writes_opt_z_(_ExtCount) char* _Ext,
1129  _In_ size_t _ExtCount
1130  );
1131 
1133 
1134 
1135 
1136 //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
1137 //
1138 // APIs Only Available in Desktop Apps
1139 //
1140 //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
1141 #ifdef _CRT_USE_WINAPI_FAMILY_DESKTOP_APP
1142 
1143  #if __STDC_WANT_SECURE_LIB__
1144 
1146  _Success_(return == 0)
1147  _DCRTIMP errno_t __cdecl getenv_s(
1148  _Out_ size_t* _RequiredCount,
1149  _Out_writes_opt_z_(_BufferCount) char* _Buffer,
1150  _In_ rsize_t _BufferCount,
1151  _In_z_ char const* _VarName
1152  );
1153 
1154  #endif // __STDC_WANT_SECURE_LIB__
1155 
1156 
1157 
1158 
1159  _ACRTIMP int* __cdecl __p___argc (void);
1160  _ACRTIMP char*** __cdecl __p___argv (void);
1161  _ACRTIMP wchar_t*** __cdecl __p___wargv(void);
1162 
1163  #ifdef _CRT_DECLARE_GLOBAL_VARIABLES_DIRECTLY
1164  extern int __argc;
1165  extern char** __argv;
1166  extern wchar_t** __wargv;
1167  #else
1168  #define __argc (*__p___argc()) // Pointer to number of command line arguments
1169  #define __argv (*__p___argv()) // Pointer to table of narrow command line arguments
1170  #define __wargv (*__p___wargv()) // Pointer to table of wide command line arguments
1171  #endif
1172 
1173  _DCRTIMP char*** __cdecl __p__environ (void);
1174  _DCRTIMP wchar_t*** __cdecl __p__wenviron(void);
1175 
1176  #ifndef _CRT_BEST_PRACTICES_USAGE
1177  #define _CRT_V12_LEGACY_FUNCTIONALITY
1178  #endif
1179 
1180  #ifndef _CRT_V12_LEGACY_FUNCTIONALITY
1181  // Deprecated symbol: Do not expose environment global pointers unless
1182  // legacy access is specifically requested
1183  #define _environ crt_usage_error__do_not_reference_global_pointer_directly__environ
1184  #define _wenviron crt_usage_error__do_not_reference_global_pointer_directly__wenviron
1185  #else
1186  #define _environ (*__p__environ()) // Pointer to narrow environment table
1187  #define _wenviron (*__p__wenviron()) // Pointer to wide environment table
1188  #endif
1189 
1190 
1191 
1192  // Sizes for buffers used by the getenv/putenv family of functions.
1193  #define _MAX_ENV 32767
1194 
1195 
1196  #if _CRT_FUNCTIONS_REQUIRED
1197 
1199  _DCRTIMP char* __cdecl getenv(
1200  _In_z_ char const* _VarName
1201  );
1202 
1204  errno_t, getenv_s,
1205  _Out_ size_t*, _RequiredCount,
1206  char, _Buffer,
1207  _In_z_ char const*, _VarName
1208  )
1209 
1210  #if defined (_DEBUG) && defined (_CRTDBG_MAP_ALLOC)
1211  #pragma push_macro("_dupenv_s")
1212  #undef _dupenv_s
1213  #endif
1214 
1216  _DCRTIMP errno_t __cdecl _dupenv_s(
1217  _Outptr_result_buffer_maybenull_(*_BufferCount) _Outptr_result_maybenull_z_ char** _Buffer,
1218  _Out_opt_ size_t* _BufferCount,
1219  _In_z_ char const* _VarName
1220  );
1221 
1222  #if defined (_DEBUG) && defined (_CRTDBG_MAP_ALLOC)
1223  #pragma pop_macro("_dupenv_s")
1224  #endif
1225 
1226  _DCRTIMP int __cdecl system(
1227  _In_opt_z_ char const* _Command
1228  );
1229 
1230  // The functions below have declspecs in their declarations in the Windows
1231  // headers, causing PREfast to fire 6540 here
1232  #pragma warning (push)
1233  #pragma warning (disable:6540)
1234 
1236  _DCRTIMP int __cdecl _putenv(
1237  _In_z_ char const* _EnvString
1238  );
1239 
1241  _DCRTIMP errno_t __cdecl _putenv_s(
1242  _In_z_ char const* _Name,
1243  _In_z_ char const* _Value
1244  );
1245 
1246  #pragma warning (pop)
1247 
1248  _DCRTIMP errno_t __cdecl _searchenv_s(
1249  _In_z_ char const* _Filename,
1250  _In_z_ char const* _VarName,
1251  _Out_writes_z_(_BufferCount) char* _Buffer,
1252  _In_ size_t _BufferCount
1253  );
1254 
1256  errno_t, _searchenv_s,
1257  _In_z_ char const*, _Filename,
1258  _In_z_ char const*, _VarName,
1259  char, _Buffer
1260  )
1261 
1264  _In_z_ char const*, _Filename,
1265  _In_z_ char const*, _VarName,
1266  _Pre_notnull_ _Post_z_, char, _Buffer
1267  )
1268 
1269  // The Win32 API SetErrorMode, Beep and Sleep should be used instead.
1270  _CRT_OBSOLETE(SetErrorMode)
1271  _DCRTIMP void __cdecl _seterrormode(
1272  _In_ int _Mode
1273  );
1274 
1275  _CRT_OBSOLETE(Beep)
1276  _DCRTIMP void __cdecl _beep(
1277  _In_ unsigned _Frequency,
1278  _In_ unsigned _Duration
1279  );
1280 
1281  _CRT_OBSOLETE(Sleep)
1282  _DCRTIMP void __cdecl _sleep(
1283  _In_ unsigned long _Duration
1284  );
1285 
1286  #endif // _CRT_FUNCTIONS_REQUIRED
1287 
1288 #endif // _CRT_USE_WINAPI_FAMILY_DESKTOP_APP
1289 
1290 
1291 
1292 //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
1293 //
1294 // Non-ANSI Names for Compatibility
1295 //
1296 //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
1297 #if _CRT_INTERNAL_NONSTDC_NAMES
1298 
1299  #ifndef __cplusplus
1300  #define max(a,b) (((a) > (b)) ? (a) : (b))
1301  #define min(a,b) (((a) < (b)) ? (a) : (b))
1302  #endif
1303 
1304  #define sys_errlist _sys_errlist
1305  #define sys_nerr _sys_nerr
1306 
1307  #pragma warning(push)
1308  #pragma warning(disable: 4141) // Using deprecated twice
1309 
1311  _ACRTIMP char* __cdecl ecvt(
1312  _In_ double _Value,
1313  _In_ int _DigitCount,
1314  _Out_ int* _PtDec,
1315  _Out_ int* _PtSign
1316  );
1317 
1319  _ACRTIMP char* __cdecl fcvt(
1320  _In_ double _Value,
1321  _In_ int _FractionalDigitCount,
1322  _Out_ int* _PtDec,
1323  _Out_ int* _PtSign
1324  );
1325 
1327  _ACRTIMP char* __cdecl gcvt(
1328  _In_ double _Value,
1329  _In_ int _DigitCount,
1330  _Pre_notnull_ _Post_z_ char* _DstBuf
1331  );
1332 
1334  _ACRTIMP char* __cdecl itoa(
1335  _In_ int _Value,
1336  _Pre_notnull_ _Post_z_ char* _Buffer,
1337  _In_ int _Radix
1338  );
1339 
1341  _ACRTIMP char* __cdecl ltoa(
1342  _In_ long _Value,
1343  _Pre_notnull_ _Post_z_ char* _Buffer,
1344  _In_ int _Radix
1345  );
1346 
1347 
1349  _ACRTIMP void __cdecl swab(
1350  _Inout_updates_z_(_SizeInBytes) char* _Buf1,
1351  _Inout_updates_z_(_SizeInBytes) char* _Buf2,
1352  _In_ int _SizeInBytes
1353  );
1354 
1356  _ACRTIMP char* __cdecl ultoa(
1357  _In_ unsigned long _Value,
1358  _Pre_notnull_ _Post_z_ char* _Buffer,
1359  _In_ int _Radix
1360  );
1361 
1362  #ifdef _CRT_USE_WINAPI_FAMILY_DESKTOP_APP
1363 
1364  #define environ _environ
1365 
1367  _DCRTIMP int __cdecl putenv(
1368  _In_z_ char const* _EnvString
1369  );
1370 
1371  #endif // _CRT_USE_WINAPI_FAMILY_DESKTOP_APP
1372 
1373  #pragma warning(pop)
1374 
1375  onexit_t __cdecl onexit(_In_opt_ onexit_t _Func);
1376 
1377 #endif // _CRT_INTERNAL_NONSTDC_NAMES
1378 
1379 
1380 
#define _Out_
Definition: sal.h:342
__RETURN_POLICY_DST
Definition: stdlib.h:640
_Check_return_ _ACRTIMP long double __cdecl strtold(_In_z_ char const *_String, _Out_opt_ _Deref_post_z_ char **_EndPtr)
_In_z_ char const * _Path
Definition: stdlib.h:1072
int __cdecl at_quick_exit(void(__cdecl *)(void))
_In_ size_t _In_ double _In_ int _DigitCount
Definition: stdlib.h:745
return
Definition: corecrt_memcpy_s.h:60
__DEFINE_CPP_OVERLOAD_SECURE_FUNC_2_0(errno_t, _searchenv_s, _In_z_ char const *, _Filename, _In_z_ char const *, _VarName, char, _Buffer) __DEFINE_CPP_OVERLOAD_STANDARD_FUNC_2_0(void
#define _In_reads_bytes_opt_(size)
Definition: sal.h:319
_ACRTIMP errno_t __cdecl _get_doserrno(_Out_ unsigned long *_Value)
Definition: corecrt.h:489
_Check_return_ _ACRTIMP long __cdecl atol(_In_z_ char const *_String)
_Check_return_ _ACRTIMP unsigned long long __cdecl strtoull(_In_z_ char const *_String, _Out_opt_ _Deref_post_z_ char **_EndPtr, _In_ int _Radix)
_Check_return_opt_ _ACRTIMP errno_t __cdecl mbstowcs_s(_Out_opt_ size_t *_PtNumOfCharConverted, _Out_writes_to_opt_(_SizeInWords,*_PtNumOfCharConverted) wchar_t *_DstBuf, _In_ size_t _SizeInWords, _In_reads_or_z_(_MaxCount) char const *_SrcBuf, _In_ size_t _MaxCount)
#define _VCRTIMP
Definition: vcruntime.h:115
_Check_return_ _ACRTIMP long long __cdecl atoll(_In_z_ char const *_String)
_makepath
Definition: stdlib.h:1101
_ACRTIMP errno_t __cdecl _set_fmode(_In_ int _Mode)
struct _div_t div_t
_Out_writes_(_MaxCount)
_Out_writes_opt_z_(_MaxCount)
_Check_return_opt_ _In_ rsize_t _In_z_ char const * _VarName
Definition: stdlib.h:1150
_ACRTIMP char ***__cdecl __p___argv(void)
_ACRTIMP _invalid_parameter_handler __cdecl _get_thread_local_invalid_parameter_handler(void)
_Check_return_ _ACRTIMP long long __cdecl strtoll(_In_z_ char const *_String, _Out_opt_ _Deref_post_z_ char **_EndPtr, _In_ int _Radix)
#define _Out_opt_
Definition: sal.h:343
_ACRTIMP errno_t __cdecl _get_fmode(_Out_ int *_PMode)
_In_ size_t _In_ double _In_ int _Out_ int * _PtDec
Definition: stdlib.h:745
_Out_writes_opt_(_MaxCount)
_Check_return_ _ACRTIMP unsigned __int64 __cdecl _strtoui64_l(_In_z_ char const *_String, _Out_opt_ _Deref_post_z_ char **_EndPtr, _In_ int _Radix, _In_opt_ _locale_t _Locale)
_Check_return_ unsigned long __cdecl _lrotl(_In_ unsigned long _Value, _In_ int _Shift)
_Pre_notnull_ _In_opt_z_ char const _In_opt_z_ char const _In_opt_z_ char const _Filename
Definition: stdlib.h:1101
_In_ size_t _In_ double _In_ int _FractionalDigitCount
Definition: stdlib.h:773
#define _Check_return_opt_
Definition: corecrt.h:96
_ACRTIMP _CRT_INSECURE_DEPRECATE(strerror) char **__cdecl __sys_errlist(void)
_DCRTIMP int __cdecl system(_In_opt_z_ char const *_Command)
_Check_return_ _ACRTIMP int __cdecl _atoi_l(_In_z_ char const *_String, _In_opt_ _locale_t _Locale)
#define _Inout_updates_(size)
Definition: sal.h:384
_Check_return_ unsigned short __cdecl _byteswap_ushort(_In_ unsigned short _Number)
#define __DEFINE_CPP_OVERLOAD_STANDARD_FUNC_1_1(_ReturnType, _ReturnPolicy, _DeclSpec, _FuncName, _HType1, _HArg1, _SalAttributeDst, _DstType, _Dst, _TType1, _TArg1)
Definition: corecrt.h:724
#define _Outptr_result_z_
Definition: sal.h:431
#define MB_LEN_MAX
Definition: limits.h:30
_In_ _Pre_notnull_ _Buffer
Definition: stdlib.h:640
#define onexit_t
Definition: stdlib.h:80
_In_ size_t _BufferCount
Definition: stdlib.h:624
struct _lldiv_t lldiv_t
_CRT_OBSOLETE(iswctype) _DCRTIMP int __cdecl is_wctype(_In_ wint_t _C
__DEFINE_CPP_OVERLOAD_SECURE_FUNC_1_3(errno_t, _mbstowcs_s_l, _Out_opt_ size_t *, _PtNumOfCharConverted, _Post_z_ wchar_t, _Dest, _In_z_ char const *, _Source, _In_ size_t, _MaxCount, _In_opt_ _locale_t, _Locale) __DEFINE_CPP_OVERLOAD_STANDARD_NFUNC_0_3_SIZE_EX(_ACRTIMP
_Check_return_ _ACRTIMP unsigned long long __cdecl _strtoull_l(_In_z_ char const *_String, _Out_opt_ _Deref_post_z_ char **_EndPtr, _In_ int _Radix, _In_opt_ _locale_t _Locale)
_Check_return_ _ACRTIMP lldiv_t __cdecl lldiv(_In_ long long _Numerator, _In_ long long _Denominator)
#define __DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_4(_ReturnType, _ReturnPolicy, _DeclSpec, _FuncName, _SalAttributeDst, _DstType, _Dst, _TType1, _TArg1, _TType2, _TArg2, _TType3, _TArg3, _TType4, _TArg4)
Definition: corecrt.h:721
_ACRTIMP unsigned int __cdecl _set_abort_behavior(_In_ unsigned int _Flags, _In_ unsigned int _Mask)
_ultoa
Definition: stdlib.h:689
_In_z_ char const _In_ _In_opt_ _Locale _ACRTIMP int __cdecl wctomb(_Out_writes_opt_z_(MB_LEN_MAX) char *_MbCh, _In_ wchar_t _WCh)
int errno_t
Definition: corecrt.h:476
#define __DEFINE_CPP_OVERLOAD_STANDARD_NFUNC_0_3_SIZE_EX(_DeclSpec, _FuncName, _SecureFuncName, _SecureDstType, _SalAttributeDst, _DstType, _Dst, _TType1, _TArg1, _TType2, _TArg2, _TType3, _TArg3)
Definition: corecrt.h:1866
_In_ int _Pre_notnull_ _Post_z_ char * _DstBuf
Definition: stdlib.h:1329
_ACRTIMP
Definition: stdlib.h:640
long long rem
Definition: stdlib.h:285
_Pre_notnull_ _In_opt_z_ char const _In_opt_z_ char const _In_opt_z_ char const _In_opt_z_ char const _Ext _ACRTIMP void __cdecl _splitpath(_In_z_ char const *_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)
#define _Check_return_wat_
Definition: corecrt.h:102
size_t rsize_t
Definition: corecrt.h:527
#define __DEFINE_CPP_OVERLOAD_STANDARD_NFUNC_0_2_SIZE(_DeclSpec, _FuncName, _SalAttributeDst, _DstType, _Dst, _TType1, _TArg1, _TType2, _TArg2)
Definition: corecrt.h:768
_In_ size_t _SrcSizeInBytes
Definition: stdlib.h:899
_itoa
Definition: stdlib.h:640
_Dest
Definition: stdlib.h:928
_In_ _Pre_notnull_ char
Definition: stdlib.h:640
#define __argv
Definition: stdlib.h:1169
_DCRTIMP errno_t __cdecl _searchenv_s(_In_z_ char const *_Filename, _In_z_ char const *_VarName, _Out_writes_z_(_BufferCount) char *_Buffer, _In_ size_t _BufferCount)
_Pre_notnull_ _In_opt_z_ char const _In_opt_z_ char const _Dir
Definition: stdlib.h:1101
#define __wargv
Definition: stdlib.h:1170
_Check_return_ _ACRTIMP int __cdecl _atoflt_l(_Out_ _CRT_FLOAT *_Result, _In_z_ char const *_String, _In_opt_ _locale_t _Locale)
_Check_return_ _ACRTIMP long long __cdecl _strtoll_l(_In_z_ char const *_String, _Out_opt_ _Deref_post_z_ char **_EndPtr, _In_ int _Radix, _In_opt_ _locale_t _Locale)
int __cdecl atexit(void(__cdecl *)(void))
#define _pgmptr
Definition: stdlib.h:248
_CRT_BEGIN_C_HEADER _Check_return_ _Ret_maybenull_ _In_ size_t _Size
Definition: corecrt_malloc.h:58
#define _CRT_BEGIN_C_HEADER
Definition: vcruntime.h:73
#define _Outptr_result_buffer_maybenull_(size)
Definition: sal.h:461
_ACRTIMP int __cdecl _wctomb_l(_Pre_maybenull_ _Post_z_ char *_MbCh, _In_ wchar_t _WCh, _In_opt_ _locale_t _Locale)
__DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_2(_Success_(return==0) errno_t, _gcvt_s, char, _Buffer, _In_ double, _Value, _In_ int, _DigitCount) _ACRTIMP char *__cdecl _gcvt(_In_ double _Value
_Out_writes_z_(_BufferCount) char *_Buffer
onexit_t __cdecl onexit(_In_opt_ onexit_t _Func)
#define _Inout_updates_z_(size)
Definition: sal.h:386
_DCRTIMP
Definition: stdlib.h:1263
__DEFINE_CPP_OVERLOAD_SECURE_FUNC_1_1(_Success_(return==0) errno_t, _itoa_s, _In_ int, _Value, char, _Buffer, _In_ int, _Radix) __DEFINE_CPP_OVERLOAD_STANDARD_FUNC_1_1(char *
_Post_satisfies_(return > 0 &&return< MB_LEN_MAX) _ACRTIMP int __cdecl ___mb_cur_max_func(void)
_ACRTIMP __declspec(noreturn) void __cdecl exit(_In_ int _Code)
Cancels the currently executing task. This function can be called from within the body of a task to a...
Definition: ppltasks.h:132
_Check_return_ _ACRTIMP double __cdecl _strtod_l(_In_z_ char const *_String, _Out_opt_ _Deref_post_z_ char **_EndPtr, _In_opt_ _locale_t _Locale)
_Check_return_wat_ _DCRTIMP errno_t __cdecl _putenv_s(_In_z_ char const *_Name, _In_z_ char const *_Value)
_DCRTIMP wchar_t ***__cdecl __p__wenviron(void)
double x
Definition: stdlib.h:412
_Check_return_ unsigned __int64 __cdecl _byteswap_uint64(_In_ unsigned __int64 _Number)
_ACRTIMP void __cdecl srand(_In_ unsigned int _Seed)
_In_ size_t _In_ double _In_ int _Out_ int _Out_ int * _PtSign
Definition: stdlib.h:745
unsigned int __cdecl _rotr(_In_ unsigned int _Value, _In_ int _Shift)
_ACRTIMP int *__cdecl _errno(void)
_ACRTIMP unsigned long *__cdecl __doserrno(void)
#define _wpgmptr
Definition: stdlib.h:249
_ACRTIMP _invalid_parameter_handler __cdecl _get_invalid_parameter_handler(void)
#define _Out_writes_bytes_opt_(size)
Definition: sal.h:348
_Check_return_ _ACRTIMP long __cdecl _strtol_l(_In_z_ char const *_String, _Out_opt_ _Deref_post_z_ char **_EndPtr, _In_ int _Radix, _In_opt_ _locale_t _Locale)
Definition: stdlib.h:390
unsigned int uintptr_t
Definition: vadefs.h:30
#define __CRTDECL
Definition: vcruntime.h:156
struct _ldiv_t ldiv_t
_ACRTIMP errno_t __cdecl _set_errno(_In_ int _Value)
#define __mb_cur_max
Definition: stdlib.h:841
__DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_4(errno_t, _ecvt_s, char, _Buffer, _In_ double, _Value, _In_ int, _DigitCount, _Out_ int *, _PtDec, _Out_ int *, _PtSign) _Check_return_ _CRT_INSECURE_DEPRECATE(_ecvt_s) _ACRTIMP char *__cdecl _ecvt(_In_ double _Value
_In_ size_t _In_ int _Radix
Definition: stdlib.h:624
#define _Pre_maybenull_
Definition: sal.h:678
_ACRTIMP _invalid_parameter_handler __cdecl _set_thread_local_invalid_parameter_handler(_In_opt_ _invalid_parameter_handler _Handler)
_Check_return_ unsigned long __cdecl _byteswap_ulong(_In_ unsigned long _Number)
_Check_return_ long long __cdecl llabs(_In_ long long _Number)
#define _In_opt_z_
Definition: sal.h:311
unsigned int __cdecl _rotl(_In_ unsigned int _Value, _In_ int _Shift)
#define _Check_return_
Definition: sal.h:554
void(__cdecl * _purecall_handler)(void)
Definition: stdlib.h:154
_String
Definition: corecrt_wstring.h:355
#define _Pre_opt_z_
Definition: sal.h:1271
_searchenv
Definition: stdlib.h:1263
_Check_return_ _In_ wchar_t _Ch
Definition: vcruntime_string.h:89
_Check_return_ _In_opt_ _locale_t _Locale
Definition: stdlib.h:877
#define _In_z_
Definition: sal.h:310
_Check_return_ _DCRTIMP int __cdecl _putenv(_In_z_ char const *_EnvString)
#define _In_
Definition: sal.h:305
long quot
Definition: stdlib.h:278
_mbstowcs_l
Definition: stdlib.h:953
_Check_return_ _ACRTIMP __int64 __cdecl _atoi64(_In_z_ char const *_String)
_ACRTIMP _invalid_parameter_handler __cdecl _set_invalid_parameter_handler(_In_opt_ _invalid_parameter_handler _Handler)
#define _CRT_JIT_INTRINSIC
Definition: corecrt.h:64
#define _In_opt_
Definition: sal.h:306
__DEFINE_CPP_OVERLOAD_SECURE_FUNC_1_2(errno_t, mbstowcs_s, _Out_opt_ size_t *, _PtNumOfCharConverted, _Post_z_ wchar_t, _Dest, _In_z_ char const *, _Source, _In_ size_t, _MaxCount) __DEFINE_CPP_OVERLOAD_STANDARD_NFUNC_0_2_SIZE(_ACRTIMP
_Check_return_wat_ _ACRTIMP errno_t __cdecl wctomb_s(_Out_opt_ int *_SizeConverted, _Out_writes_bytes_to_opt_(_SizeInBytes,*_SizeConverted) char *_MbCh, _In_ rsize_t _SizeInBytes, _In_ wchar_t _WCh)
_Check_return_ _ACRTIMP long __cdecl strtol(_In_z_ char const *_String, _Out_opt_ _Deref_post_z_ char **_EndPtr, _In_ int _Radix)
Definition: stdlib.h:432
#define __argc
Definition: stdlib.h:1168
#define __DEFINE_CPP_OVERLOAD_STANDARD_FUNC_2_0(_ReturnType, _ReturnPolicy, _DeclSpec, _FuncName, _HType1, _HArg1, _HType2, _HArg2, _SalAttributeDst, _DstType, _Dst)
Definition: corecrt.h:727
float f
Definition: stdlib.h:417
Definition: stdlib.h:424
#define _MRTIMP
Definition: vcruntime.h:127
_ACRTIMP void __cdecl swab(_Inout_updates_z_(_SizeInBytes) char *_Buf1, _Inout_updates_z_(_SizeInBytes) char *_Buf2, _In_ int _SizeInBytes)
_Success_(return==0) _ACRTIMP errno_t __cdecl _get_pgmptr(_Outptr_result_z_ char **_Value)
_ACRTIMP char *__cdecl _ui64toa(_In_ unsigned __int64 _Value, _Pre_notnull_ _Post_z_ char *_Buffer, _In_ int _Radix)
_Check_return_ _In_z_ wchar_t const * _Mode
Definition: corecrt_wstdio.h:133
_In_z_ char const _Source
Definition: stdlib.h:928
_Check_return_ _ACRTIMP __int64 __cdecl _atoi64_l(_In_z_ char const *_String, _In_opt_ _locale_t _Locale)
_CRT_BEGIN_C_HEADER typedef void(__CRTDECL *terminate_handler)()
_In_ size_t _Out_opt_ int _In_z_ unsigned char const * _Src
Definition: mbstring.h:1039
_Check_return_ _ACRTIMP int __cdecl _atodbl(_Out_ _CRT_DOUBLE *_Result, _In_z_ char *_String)
_Check_return_ _ACRTIMP int __cdecl _mblen_l(_In_reads_bytes_opt_(_MaxCount) _Pre_opt_z_ char const *_Ch, _In_ size_t _MaxCount, _In_opt_ _locale_t _Locale)
unsigned __int64 __cdecl _rotl64(_In_ unsigned __int64 _Value, _In_ int _Shift)
_Check_return_ _ACRTIMP float __cdecl strtof(_In_z_ char const *_String, _Out_opt_ _Deref_post_z_ char **_EndPtr)
#define _CRTALLOCATOR
Definition: corecrt.h:56
_Check_return_ _In_ size_t _MaxCount
Definition: stdlib.h:884
_CRT_BEGIN_C_HEADER _In_ int _SizeInWords
Definition: corecrt_wdirect.h:25
_wcstombs_s_l
Definition: stdlib.h:1041
_Pre_maybenull_ _In_ _Inout_opt_ mbstate_t _State _Out_writes_bytes_to_opt_(_SizeInBytes,*_Retval) char *_Dst
_Check_return_ int __cdecl abs(_In_ int _Number)
_In_ int
Definition: stdlib.h:640
long long quot
Definition: stdlib.h:284
__DEFINE_CPP_OVERLOAD_SECURE_FUNC_SPLITPATH(errno_t, _wsplitpath_s, wchar_t, _Path) _Check_return_wat_ _DCRTIMP errno_t __cdecl _wdupenv_s(_Outptr_result_buffer_maybenull_(*_BufferCount) _Outptr_result_maybenull_z_ wchar_t **_Buffer
Definition: stdlib.h:276
_Check_return_ __int64 __cdecl _abs64(_In_ __int64 _Number)
_Check_return_ _CRT_NONSTDC_DEPRECATE(_ecvt) _CRT_INSECURE_DEPRECATE(_ecvt_s) _ACRTIMP char *__cdecl ecvt(_In_ double _Value
_wcstombs_l
Definition: stdlib.h:1041
long rem
Definition: stdlib.h:279
Definition: stdlib.h:270
_Check_return_ _ACRTIMP unsigned long __cdecl strtoul(_In_z_ char const *_String, _Out_opt_ _Deref_post_z_ char **_EndPtr, _In_ int _Radix)
_Check_return_ _ACRTIMP long long __cdecl _atoll_l(_In_z_ char const *_String, _In_opt_ _locale_t _Locale)
_ACRTIMP void __cdecl perror(_In_opt_z_ char const *_ErrMsg)
_ACRTIMP errno_t __cdecl _set_doserrno(_In_ unsigned long _Value)
#define _CRT_END_C_HEADER
Definition: vcruntime.h:76
_ltoa
Definition: stdlib.h:664
_ACRTIMP errno_t __cdecl _get_errno(_Out_ int *_Value)
_Check_return_ _ACRTIMP int __cdecl _atoldbl(_Out_ _LDOUBLE *_Result, _In_z_ char *_String)
wcstombs
Definition: stdlib.h:1015
_In_ _Pre_notnull_ _Post_z_
Definition: stdlib.h:640
_Check_return_ _ACRTIMP double __cdecl _atof_l(_In_z_ char const *_String, _In_opt_ _locale_t _Locale)
_DCRTIMP char ***__cdecl __p__environ(void)
_Check_return_ _ACRTIMP long double __cdecl _strtold_l(_In_z_ char const *_String, _Out_opt_ _Deref_post_z_ char **_EndPtr, _In_opt_ _locale_t _Locale)
_Check_return_wat_ _ACRTIMP errno_t __cdecl _splitpath_s(_In_z_ char const *_FullPath, _Out_writes_opt_z_(_DriveCount) char *_Drive, _In_ size_t _DriveCount, _Out_writes_opt_z_(_DirCount) char *_Dir, _In_ size_t _DirCount, _Out_writes_opt_z_(_FilenameCount) char *_Filename, _In_ size_t _FilenameCount, _Out_writes_opt_z_(_ExtCount) char *_Ext, _In_ size_t _ExtCount)
_Check_return_ _ACRTIMP unsigned long __cdecl _strtoul_l(_In_z_ char const *_String, _Out_opt_ _Deref_post_z_ char **_EndPtr, _In_ int _Radix, _In_opt_ _locale_t _Locale)
#define _Post_readable_size_(size)
Definition: sal.h:646
#define _In_reads_or_z_(size)
Definition: sal.h:322
_Pre_notnull_ _In_opt_z_ char const _Drive
Definition: stdlib.h:1101
_Check_return_ unsigned long __cdecl _lrotr(_In_ unsigned long _Value, _In_ int _Shift)
__RETURN_POLICY_VOID
Definition: stdlib.h:1101
#define _Deref_post_z_
Definition: sal.h:1118
_VCRTIMP _purecall_handler __cdecl _get_purecall_handler(void)
_Check_return_opt_ _ACRTIMP int __cdecl _set_error_mode(_In_ int _Mode)
Definition: stdlib.h:410
_Check_return_ _ACRTIMP div_t __cdecl div(_In_ int _Numerator, _In_ int _Denominator)
int quot
Definition: stdlib.h:272
_Check_return_ _ACRTIMP int __cdecl _atodbl_l(_Out_ _CRT_DOUBLE *_Result, _In_z_ char *_String, _In_opt_ _locale_t _Locale)
_ACRTIMP int *__cdecl __p___argc(void)
_Check_return_wat_ _ACRTIMP errno_t __cdecl _wctomb_s_l(_Out_opt_ int *_SizeConverted, _Out_writes_opt_z_(_SizeInBytes) char *_MbCh, _In_ size_t _SizeInBytes, _In_ wchar_t _WCh, _In_opt_ _locale_t _Locale)
_Check_return_ _ACRTIMP long __cdecl _atol_l(_In_z_ char const *_String, _In_opt_ _locale_t _Locale)
_In_ size_t _DstSizeInBytes
Definition: mbstring.h:1039
_Check_return_ _ACRTIMP __int64 __cdecl _strtoi64_l(_In_z_ char const *_String, _Out_opt_ _Deref_post_z_ char **_EndPtr, _In_ int _Radix, _In_opt_ _locale_t _Locale)
_Check_return_ _CRT_JIT_INTRINSIC _ACRTIMP int __cdecl atoi(_In_z_ char const *_String)
_ACRTIMP wchar_t ***__cdecl __p___wargv(void)
_Check_return_ _ACRTIMP __int64 __cdecl _strtoi64(_In_z_ char const *_String, _Out_opt_ _Deref_post_z_ char **_EndPtr, _In_ int _Radix)
_In_z_ char const _In_z_ char const _Pre_notnull_ _Buffer _DCRTIMP void __cdecl _seterrormode(_In_ int _Mode)
_Check_return_ _ACRTIMP float __cdecl _strtof_l(_In_z_ char const *_String, _Out_opt_ _Deref_post_z_ char **_EndPtr, _In_opt_ _locale_t _Locale)
_Check_return_ _ACRTIMP int __cdecl _atoldbl_l(_Out_ _LDOUBLE *_Result, _In_z_ char *_String, _In_opt_ _locale_t _Locale)
unsigned __int64 __cdecl _rotr64(_In_ unsigned __int64 _Value, _In_ int _Shift)
_CRT_MANAGED_FP_DEPRECATE _In_ unsigned int _Mask
Definition: float.h:235
_onexit_t __cdecl _onexit(_In_opt_ _onexit_t _Func)
Definition: stdlib.h:282
_Check_return_ _ACRTIMP double __cdecl atof(_In_z_ char const *_String)
_Check_return_ _ACRTIMP int __cdecl rand(void)
int rem
Definition: stdlib.h:273
Definition: stdlib.h:415
_Result
Definition: corecrt_wconio.h:362
_Check_return_ _ACRTIMP int __cdecl mblen(_In_reads_bytes_opt_(_MaxCount) _Pre_opt_z_ char const *_Ch, _In_ size_t _MaxCount)
#define _Out_writes_to_opt_(size, count)
Definition: sal.h:353
long double x
Definition: stdlib.h:426
void(__cdecl * _invalid_parameter_handler)(wchar_t const *, wchar_t const *, wchar_t const *, unsigned int, uintptr_t)
Definition: stdlib.h:157
_Check_return_ _ACRTIMP double __cdecl strtod(_In_z_ char const *_String, _Out_opt_ _Deref_post_z_ char **_EndPtr)
#define _Pre_notnull_
Definition: sal.h:677
mbstowcs
Definition: stdlib.h:927
_Check_return_wat_ _ACRTIMP errno_t __cdecl wcstombs_s(_Out_opt_ size_t *_PtNumOfCharConverted, _Out_writes_bytes_to_opt_(_DstSizeInBytes,*_PtNumOfCharConverted) char *_Dst, _In_ size_t _DstSizeInBytes, _In_z_ wchar_t const *_Src, _In_ size_t _MaxCountInBytes)
_Check_return_ long __cdecl labs(_In_ long _Number)
_ACRTIMP void __cdecl _swab(_Inout_updates_(_SizeInBytes) _Post_readable_size_(_SizeInBytes) char *_Buf1, _Inout_updates_(_SizeInBytes) _Post_readable_size_(_SizeInBytes) char *_Buf2, _In_ int _SizeInBytes)
int(__CRTDECL * _onexit_t)(void)
Definition: stdlib.h:72
_Check_return_ _ACRTIMP ldiv_t __cdecl ldiv(_In_ long _Numerator, _In_ long _Denominator)
#define _fmode
Definition: stdlib.h:250
_In_ int _SizeInBytes
Definition: direct.h:61
_In_ _Value
Definition: stdlib.h:640
_DCRTIMP void __cdecl _beep(_In_ unsigned _Frequency, _In_ unsigned _Duration)
_CRT_INSECURE_DEPRECATE_GLOBALS(_get_pgmptr) _ACRTIMP char **__cdecl __p__pgmptr(void)
#define _Outptr_result_maybenull_z_
Definition: sal.h:433
_VCRTIMP _purecall_handler __cdecl _set_purecall_handler(_In_opt_ _purecall_handler _Handler)
_mbstowcs_s_l
Definition: stdlib.h:953
_Check_return_ _ACRTIMP unsigned __int64 __cdecl _strtoui64(_In_z_ char const *_String, _Out_opt_ _Deref_post_z_ char **_EndPtr, _In_ int _Radix)
_In_reads_or_z_opt_(_SrcSizeInBytes) char const *_SrcCh
_Check_return_ _ACRTIMP int __cdecl _atoflt(_Out_ _CRT_FLOAT *_Result, _In_z_ char const *_String)
_Check_return_wat_ _ACRTIMP errno_t __cdecl _makepath_s(_Out_writes_z_(_BufferCount) char *_Buffer, _In_ size_t _BufferCount, _In_opt_z_ char const *_Drive, _In_opt_z_ char const *_Dir, _In_opt_z_ char const *_Filename, _In_opt_z_ char const *_Ext)
_DCRTIMP void __cdecl _sleep(_In_ unsigned long _Duration)