STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
wchar.h
Go to the documentation of this file.
1 /***
2 *wchar.h - declarations for wide character functions
3 *
4 * Copyright (c) Microsoft Corporation. All rights reserved.
5 *
6 *Purpose:
7 * This file contains the types, macros and function declarations for
8 * all wide character-related functions. They may also be declared in
9 * individual header files on a functional basis.
10 * [ISO]
11 *
12 * Note: keep in sync with ctype.h, stdio.h, stdlib.h, string.h, time.h.
13 *
14 * [Public]
15 *
16 ****/
17 
18 #pragma once
19 
20 #ifndef _INC_WCHAR
21 #define _INC_WCHAR
22 
23 #include <crtdefs.h>
24 
25 #pragma pack(push,_CRT_PACKING)
26 
27 #ifdef __cplusplus
28 extern "C" {
29 #endif /* __cplusplus */
30 
31 /*
32  * According to the standard, WCHAR_MIN and WCHAR_MAX need to be
33  * "constant expressions suitable for use in #if preprocessing directives,
34  * and this expression shall have the same type as would an expression that
35  * is an object of the corresponding type converted according to the integer
36  * promotions".
37  */
38 #define WCHAR_MIN 0x0000
39 #define WCHAR_MAX 0xffff
40 
41 #ifndef _VA_LIST_DEFINED
42 #ifdef _M_CEE_PURE
43 typedef System::ArgIterator va_list;
44 #else /* _M_CEE_PURE */
45 typedef char * va_list;
46 #endif /* _M_CEE_PURE */
47 #define _VA_LIST_DEFINED
48 #endif /* _VA_LIST_DEFINED */
49 
50 #ifndef WEOF
51 #define WEOF (wint_t)(0xFFFF)
52 #endif /* WEOF */
53 
54 #ifndef _FILE_DEFINED
55 struct _iobuf {
56  char *_ptr;
57  int _cnt;
58  char *_base;
59  int _flag;
60  int _file;
61  int _charbuf;
62  int _bufsiz;
63  char *_tmpfname;
64  };
65 typedef struct _iobuf FILE;
66 #define _FILE_DEFINED
67 #endif /* _FILE_DEFINED */
68 
69 /* Declare _iob[] array */
70 
71 #ifndef _STDIO_DEFINED
72 #ifdef _CRTBLD
73 /* These functions are for enabling STATIC_CPPLIB functionality */
74 #if defined (_DLL) && defined (_M_IX86)
75 /* Retained for compatibility with VC++ 5.0 and earlier versions */
76 _CRTIMP extern FILE * __cdecl __p__iob(void);
77 #endif /* defined (_DLL) && defined (_M_IX86) */
78 #ifndef _M_CEE_PURE
79 _CRTIMP extern FILE _iob[];
80 #endif /* _M_CEE_PURE */
81 #endif /* _CRTBLD */
82 _CRTIMP FILE * __cdecl __iob_func(void);
83 #endif /* _STDIO_DEFINED */
84 
85 #ifndef _STDSTREAM_DEFINED
86 #define stdin (&__iob_func()[0])
87 #define stdout (&__iob_func()[1])
88 #define stderr (&__iob_func()[2])
89 #define _STDSTREAM_DEFINED
90 #endif /* _STDSTREAM_DEFINED */
91 
92 #ifndef _FSIZE_T_DEFINED
93 typedef unsigned long _fsize_t; /* Could be 64 bits for Win32 */
94 #define _FSIZE_T_DEFINED
95 #endif /* _FSIZE_T_DEFINED */
96 
97 #ifndef _WFINDDATA_T_DEFINED
98 
99 struct _wfinddata32_t {
100  unsigned attrib;
101  __time32_t time_create; /* -1 for FAT file systems */
102  __time32_t time_access; /* -1 for FAT file systems */
104  _fsize_t size;
105  wchar_t name[260];
106 };
107 
108 struct _wfinddata32i64_t {
109  unsigned attrib;
110  __time32_t time_create; /* -1 for FAT file systems */
111  __time32_t time_access; /* -1 for FAT file systems */
113  __int64 size;
114  wchar_t name[260];
115 };
116 
117 struct _wfinddata64i32_t {
118  unsigned attrib;
119  __time64_t time_create; /* -1 for FAT file systems */
120  __time64_t time_access; /* -1 for FAT file systems */
122  _fsize_t size;
123  wchar_t name[260];
124 };
125 
126 struct _wfinddata64_t {
127  unsigned attrib;
128  __time64_t time_create; /* -1 for FAT file systems */
129  __time64_t time_access; /* -1 for FAT file systems */
131  __int64 size;
132  wchar_t name[260];
133 };
134 
135 #ifdef _USE_32BIT_TIME_T
136 #define _wfinddata_t _wfinddata32_t
137 #define _wfinddatai64_t _wfinddata32i64_t
138 
139 #define _wfindfirst _wfindfirst32
140 #define _wfindnext _wfindnext32
141 #define _wfindfirsti64 _wfindfirst32i64
142 #define _wfindnexti64 _wfindnext32i64
143 
144 #else /* _USE_32BIT_TIME_T */
145 #define _wfinddata_t _wfinddata64i32_t
146 #define _wfinddatai64_t _wfinddata64_t
147 
148 #define _wfindfirst _wfindfirst64i32
149 #define _wfindnext _wfindnext64i32
150 #define _wfindfirsti64 _wfindfirst64
151 #define _wfindnexti64 _wfindnext64
152 
153 #endif /* _USE_32BIT_TIME_T */
154 
155 #define _WFINDDATA_T_DEFINED
156 #endif /* _WFINDDATA_T_DEFINED */
157 
158 
159 /* define NULL pointer value */
160 #ifndef NULL
161 #ifdef __cplusplus
162 #define NULL 0
163 #else /* __cplusplus */
164 #define NULL ((void *)0)
165 #endif /* __cplusplus */
166 #endif /* NULL */
167 
168 #ifndef _CONST_RETURN
169 #ifdef __cplusplus
170 #define _CONST_RETURN const
171 #define _CRT_CONST_CORRECT_OVERLOADS
172 #else /* __cplusplus */
173 #define _CONST_RETURN
174 #endif /* __cplusplus */
175 #endif /* _CONST_RETURN */
176 
177 /* For backwards compatibility */
178 #define _WConst_return _CONST_RETURN
179 
180 #ifndef _CRT_CTYPEDATA_DEFINED
181 #define _CRT_CTYPEDATA_DEFINED
182 #ifndef _CTYPE_DISABLE_MACROS
183 #ifdef _CRTBLD
184 extern const unsigned short __newctype[];
185 #if defined (_DLL) && defined (_M_IX86)
186 /* Retained for compatibility with VC++ 5.0 and earlier versions */
187 _CRTIMP const unsigned short ** __cdecl __p__pctype(void);
188 #endif /* defined (_DLL) && defined (_M_IX86) */
189 #endif /* _CRTBLD */
190 
191 #ifndef __PCTYPE_FUNC
192 #if defined (_CRT_DISABLE_PERFCRIT_LOCKS) && !defined (_DLL)
193 #define __PCTYPE_FUNC _pctype
194 #else /* defined (_CRT_DISABLE_PERFCRIT_LOCKS) && !defined (_DLL) */
195 #define __PCTYPE_FUNC __pctype_func()
196 #endif /* defined (_CRT_DISABLE_PERFCRIT_LOCKS) && !defined (_DLL) */
197 #endif /* __PCTYPE_FUNC */
198 
199 _CRTIMP const unsigned short * __cdecl __pctype_func(void);
200 #if !defined (_M_CEE_PURE)
201 _CRTIMP extern const unsigned short *_pctype;
202 #else /* !defined (_M_CEE_PURE) */
203 #define _pctype (__pctype_func())
204 #endif /* !defined (_M_CEE_PURE) */
205 #endif /* _CTYPE_DISABLE_MACROS */
206 #endif /* _CRT_CTYPEDATA_DEFINED */
207 
208 #ifndef _CRT_WCTYPEDATA_DEFINED
209 #define _CRT_WCTYPEDATA_DEFINED
210 #ifndef _CTYPE_DISABLE_MACROS
211 #if !defined (_M_CEE_PURE)
212 _CRTIMP extern const unsigned short _wctype[];
213 #endif /* !defined (_M_CEE_PURE) */
214 #ifdef _CRTBLD
215 extern const unsigned short __newctype[];
216 #if defined (_DLL) && defined (_M_IX86)
217 /* Retained for compatibility with VC++ 5.0 and earlier versions */
218 _CRTIMP const wctype_t ** __cdecl __p__pwctype(void);
219 #endif /* defined (_DLL) && defined (_M_IX86) */
220 #endif /* _CRTBLD */
221 
222 _CRTIMP const wctype_t * __cdecl __pwctype_func(void);
223 #if !defined (_M_CEE_PURE)
224 _CRTIMP extern const wctype_t *_pwctype;
225 #else /* !defined (_M_CEE_PURE) */
226 #define _pwctype (__pwctype_func())
227 #endif /* !defined (_M_CEE_PURE) */
228 #endif /* _CTYPE_DISABLE_MACROS */
229 #endif /* _CRT_WCTYPEDATA_DEFINED */
230 
231 /* set bit masks for the possible character types */
232 
233 #define _UPPER 0x1 /* upper case letter */
234 #define _LOWER 0x2 /* lower case letter */
235 #define _DIGIT 0x4 /* digit[0-9] */
236 #define _SPACE 0x8 /* space, tab, carriage return, newline, */
237  /* vertical tab or form feed */
238 #define _PUNCT 0x10 /* punctuation character */
239 #define _CONTROL 0x20 /* control character */
240 #define _BLANK 0x40 /* space char (tab handled separately) */
241 #define _HEX 0x80 /* hexadecimal digit */
242 
243 #define _LEADBYTE 0x8000 /* multibyte leadbyte */
244 #define _ALPHA (0x0100|_UPPER|_LOWER) /* alphabetic character */
245 
246 
247 /* Function prototypes */
248 
249 #ifndef _WCTYPE_DEFINED
250 
251 /* Character classification function prototypes */
252 /* also declared in ctype.h */
253 
279 
280 #ifdef _CRT_USE_WINAPI_FAMILY_DESKTOP_APP
281 _Check_return_ _CRTIMP int __cdecl isleadbyte(_In_ int _C);
283 #endif /* _CRT_USE_WINAPI_FAMILY_DESKTOP_APP */
284 
291 
296 
297 #ifdef _CRT_USE_WINAPI_FAMILY_DESKTOP_APP
299 #endif /* _CRT_USE_WINAPI_FAMILY_DESKTOP_APP */
300 
301 
302 #define _WCTYPE_DEFINED
303 #endif /* _WCTYPE_DEFINED */
304 
305 #ifndef _WDIRECT_DEFINED
306 
307 /* also declared in direct.h */
308 
309 #ifdef _CRT_USE_WINAPI_FAMILY_DESKTOP_APP
310 
311 #if defined (_DEBUG) && defined (_CRTDBG_MAP_ALLOC)
312 #pragma push_macro("_wgetcwd")
313 #pragma push_macro("_wgetdcwd")
314 #undef _wgetcwd
315 #undef _wgetdcwd
316 #endif /* defined (_DEBUG) && defined (_CRTDBG_MAP_ALLOC) */
317 
318 _Check_return_ _Ret_maybenull_z_ _CRTIMP wchar_t * __cdecl _wgetcwd(_Out_writes_opt_(_SizeInWords) wchar_t * _DstBuf, _In_ int _SizeInWords);
319 _Check_return_ _Ret_maybenull_z_ _CRTIMP wchar_t * __cdecl _wgetdcwd(_In_ int _Drive, _Out_writes_opt_(_SizeInWords) wchar_t * _DstBuf, _In_ int _SizeInWords);
320 #define _wgetdcwd_nolock _wgetdcwd
321 
322 #if defined (_DEBUG) && defined (_CRTDBG_MAP_ALLOC)
323 #pragma pop_macro("_wgetcwd")
324 #pragma pop_macro("_wgetdcwd")
325 #endif /* defined (_DEBUG) && defined (_CRTDBG_MAP_ALLOC) */
326 
327 _Check_return_ _CRTIMP int __cdecl _wchdir(_In_z_ const wchar_t * _Path);
328 
329 #endif /* _CRT_USE_WINAPI_FAMILY_DESKTOP_APP */
330 
331 _Check_return_ _CRTIMP int __cdecl _wmkdir(_In_z_ const wchar_t * _Path);
332 _Check_return_ _CRTIMP int __cdecl _wrmdir(_In_z_ const wchar_t * _Path);
333 
334 #define _WDIRECT_DEFINED
335 #endif /* _WDIRECT_DEFINED */
336 
337 #ifndef _WIO_DEFINED
338 
339 _Check_return_ _CRTIMP int __cdecl _waccess(_In_z_ const wchar_t * _Filename, _In_ int _AccessMode);
341 _Check_return_ _CRTIMP int __cdecl _wchmod(_In_z_ const wchar_t * _Filename, _In_ int _Mode);
343 _Check_return_ _CRTIMP intptr_t __cdecl _wfindfirst32(_In_z_ const wchar_t * _Filename, _Out_ struct _wfinddata32_t * _FindData);
344 _Check_return_ _CRTIMP int __cdecl _wfindnext32(_In_ intptr_t _FindHandle, _Out_ struct _wfinddata32_t * _FindData);
345 _CRTIMP int __cdecl _wunlink(_In_z_ const wchar_t * _Filename);
346 _Check_return_ _CRTIMP int __cdecl _wrename(_In_z_ const wchar_t * _OldFilename, _In_z_ const wchar_t * _NewFilename);
347 _CRTIMP errno_t __cdecl _wmktemp_s(_Inout_updates_z_(_SizeInWords) wchar_t * _TemplateName, _In_ size_t _SizeInWords);
349 __DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_0(wchar_t *, __RETURN_POLICY_DST, _CRTIMP, _wmktemp, _Inout_z_, wchar_t, _TemplateName)
350 
351 _Check_return_ _CRTIMP intptr_t __cdecl _wfindfirst32i64(_In_z_ const wchar_t * _Filename, _Out_ struct _wfinddata32i64_t * _FindData);
352 _Check_return_ _CRTIMP intptr_t __cdecl _wfindfirst64i32(_In_z_ const wchar_t * _Filename, _Out_ struct _wfinddata64i32_t * _FindData);
353 _Check_return_ _CRTIMP intptr_t __cdecl _wfindfirst64(_In_z_ const wchar_t * _Filename, _Out_ struct _wfinddata64_t * _FindData);
354 _Check_return_ _CRTIMP int __cdecl _wfindnext32i64(_In_ intptr_t _FindHandle, _Out_ struct _wfinddata32i64_t * _FindData);
355 _Check_return_ _CRTIMP int __cdecl _wfindnext64i32(_In_ intptr_t _FindHandle, _Out_ struct _wfinddata64i32_t * _FindData);
356 _Check_return_ _CRTIMP int __cdecl _wfindnext64(_In_ intptr_t _FindHandle, _Out_ struct _wfinddata64_t * _FindData);
357 
358 _Check_return_wat_ _CRTIMP errno_t __cdecl _wsopen_s(_Out_ int * _FileHandle, _In_z_ const wchar_t * _Filename, _In_ int _OpenFlag, _In_ int _ShareFlag, _In_ int _PermissionFlag);
359 
360 #if !defined (__cplusplus) || !defined (_M_IX86)
361 
362 _Check_return_ _CRT_INSECURE_DEPRECATE(_wsopen_s) _CRTIMP int __cdecl _wopen(_In_z_ const wchar_t * _Filename, _In_ int _OpenFlag, ...);
363 _Check_return_ _CRT_INSECURE_DEPRECATE(_wsopen_s) _CRTIMP int __cdecl _wsopen(_In_z_ const wchar_t * _Filename, _In_ int _OpenFlag, int _ShareFlag, ...);
364 
365 #else /* !defined (__cplusplus) || !defined (_M_IX86) */
366 
367 /* these function do not validate pmode; use _sopen_s */
368 extern "C++" _CRT_INSECURE_DEPRECATE(_wsopen_s) _CRTIMP int __cdecl _wopen(_In_z_ const wchar_t * _Filename, _In_ int _OpenFlag, _In_ int _PermissionMode = 0);
369 extern "C++" _CRT_INSECURE_DEPRECATE(_wsopen_s) _CRTIMP int __cdecl _wsopen(_In_z_ const wchar_t * _Filename, _In_ int _OpenFlag, _In_ int _ShareFlag, int _PermissionMode = 0);
370 
371 #endif /* !defined (__cplusplus) || !defined (_M_IX86) */
372 
373 #define _WIO_DEFINED
374 #endif /* _WIO_DEFINED */
375 
376 #ifndef _WLOCALE_DEFINED
377 
378 /* wide function prototypes, also declared in wchar.h */
379 
380 _Check_return_opt_ _CRTIMP wchar_t * __cdecl _wsetlocale(_In_ int _Category, _In_opt_z_ const wchar_t * _Locale);
381 _Check_return_opt_ _CRTIMP _locale_t __cdecl _wcreate_locale(_In_ int _Category, _In_z_ const wchar_t * _Locale);
382 
383 #define _WLOCALE_DEFINED
384 #endif /* _WLOCALE_DEFINED */
385 
386 #ifdef _CRT_USE_WINAPI_FAMILY_DESKTOP_APP
387 
388 #ifndef _WPROCESS_DEFINED
389 
390 /* also declared in process.h */
391 
392 _CRTIMP intptr_t __cdecl _wexecl(_In_z_ const wchar_t * _Filename, _In_z_ const wchar_t * _ArgList, ...);
393 _CRTIMP intptr_t __cdecl _wexecle(_In_z_ const wchar_t * _Filename, _In_z_ const wchar_t * _ArgList, ...);
394 _CRTIMP intptr_t __cdecl _wexeclp(_In_z_ const wchar_t * _Filename, _In_z_ const wchar_t * _ArgList, ...);
395 _CRTIMP intptr_t __cdecl _wexeclpe(_In_z_ const wchar_t * _Filename, _In_z_ const wchar_t * _ArgList, ...);
396 _CRTIMP intptr_t __cdecl _wexecv(_In_z_ const wchar_t * _Filename, _In_z_ const wchar_t * const * _ArgList);
397 _CRTIMP intptr_t __cdecl _wexecve(_In_z_ const wchar_t * _Filename, _In_z_ const wchar_t * const * _ArgList,
398  _In_opt_z_ const wchar_t * const * _Env);
399 _CRTIMP intptr_t __cdecl _wexecvp(_In_z_ const wchar_t * _Filename, _In_z_ const wchar_t * const * _ArgList);
400 _CRTIMP intptr_t __cdecl _wexecvpe(_In_z_ const wchar_t * _Filename, _In_z_ const wchar_t * const * _ArgList,
401  _In_opt_z_ const wchar_t * const * _Env);
402 _CRTIMP intptr_t __cdecl _wspawnl(_In_ int _Mode, _In_z_ const wchar_t * _Filename, _In_z_ const wchar_t * _ArgList, ...);
403 _CRTIMP intptr_t __cdecl _wspawnle(_In_ int _Mode, _In_z_ const wchar_t * _Filename, _In_z_ const wchar_t * _ArgList, ...);
404 _CRTIMP intptr_t __cdecl _wspawnlp(_In_ int _Mode, _In_z_ const wchar_t * _Filename, _In_z_ const wchar_t * _ArgList, ...);
405 _CRTIMP intptr_t __cdecl _wspawnlpe(_In_ int _Mode, _In_z_ const wchar_t * _Filename, _In_z_ const wchar_t * _ArgList, ...);
406 _CRTIMP intptr_t __cdecl _wspawnv(_In_ int _Mode, _In_z_ const wchar_t * _Filename, _In_z_ const wchar_t * const * _ArgList);
407 _CRTIMP intptr_t __cdecl _wspawnve(_In_ int _Mode, _In_z_ const wchar_t * _Filename, _In_z_ const wchar_t * const * _ArgList,
408  _In_opt_z_ const wchar_t * const * _Env);
409 _CRTIMP intptr_t __cdecl _wspawnvp(_In_ int _Mode, _In_z_ const wchar_t * _Filename, _In_z_ const wchar_t * const * _ArgList);
410 _CRTIMP intptr_t __cdecl _wspawnvpe(_In_ int _Mode, _In_z_ const wchar_t * _Filename, _In_z_ const wchar_t * const * _ArgList,
411  _In_opt_z_ const wchar_t * const * _Env);
412 #ifndef _CRT_WSYSTEM_DEFINED
413 #define _CRT_WSYSTEM_DEFINED
414 _CRTIMP int __cdecl _wsystem(_In_opt_z_ const wchar_t * _Command);
415 #endif /* _CRT_WSYSTEM_DEFINED */
416 
417 #define _WPROCESS_DEFINED
418 #endif /* _WPROCESS_DEFINED */
419 
420 #endif /* _CRT_USE_WINAPI_FAMILY_DESKTOP_APP */
421 
422 #ifndef _WCTYPE_INLINE_DEFINED
423 
424 #ifdef _CRTBLD
425 #define _CRT_WCTYPE_NOINLINE
426 #else /* _CRTBLD */
427 #undef _CRT_WCTYPE_NOINLINE
428 #endif /* _CRTBLD */
429 
430 #if !defined (__cplusplus) || defined (_M_CEE_PURE) || defined (MRTDLL) || defined (_CRT_WCTYPE_NOINLINE)
431 #define iswalpha(_c) ( iswctype(_c,_ALPHA) )
432 #define iswupper(_c) ( iswctype(_c,_UPPER) )
433 #define iswlower(_c) ( iswctype(_c,_LOWER) )
434 #define iswdigit(_c) ( iswctype(_c,_DIGIT) )
435 #define iswxdigit(_c) ( iswctype(_c,_HEX) )
436 #define iswspace(_c) ( iswctype(_c,_SPACE) )
437 #define iswpunct(_c) ( iswctype(_c,_PUNCT) )
438 #define iswblank(_c) (((_c) == '\t') ? _BLANK : iswctype(_c,_BLANK) )
439 #define iswalnum(_c) ( iswctype(_c,_ALPHA|_DIGIT) )
440 #define iswprint(_c) ( iswctype(_c,_BLANK|_PUNCT|_ALPHA|_DIGIT) )
441 #define iswgraph(_c) ( iswctype(_c,_PUNCT|_ALPHA|_DIGIT) )
442 #define iswcntrl(_c) ( iswctype(_c,_CONTROL) )
443 #define iswascii(_c) ( (unsigned)(_c) < 0x80 )
444 
445 #define _iswalpha_l(_c,_p) ( iswctype(_c,_ALPHA) )
446 #define _iswupper_l(_c,_p) ( iswctype(_c,_UPPER) )
447 #define _iswlower_l(_c,_p) ( iswctype(_c,_LOWER) )
448 #define _iswdigit_l(_c,_p) ( iswctype(_c,_DIGIT) )
449 #define _iswxdigit_l(_c,_p) ( iswctype(_c,_HEX) )
450 #define _iswspace_l(_c,_p) ( iswctype(_c,_SPACE) )
451 #define _iswpunct_l(_c,_p) ( iswctype(_c,_PUNCT) )
452 #define _iswblank_l(_c,_p) (((_c) == '\t') ? _BLANK : iswctype(_c,_BLANK) )
453 #define _iswalnum_l(_c,_p) ( iswctype(_c,_ALPHA|_DIGIT) )
454 #define _iswprint_l(_c,_p) ( iswctype(_c,_BLANK|_PUNCT|_ALPHA|_DIGIT) )
455 #define _iswgraph_l(_c,_p) ( iswctype(_c,_PUNCT|_ALPHA|_DIGIT) )
456 #define _iswcntrl_l(_c,_p) ( iswctype(_c,_CONTROL) )
457 
458 #ifdef _CRT_USE_WINAPI_FAMILY_DESKTOP_APP
459 #ifndef _CTYPE_DISABLE_MACROS
460 #define isleadbyte(_c) ( __PCTYPE_FUNC[(unsigned char)(_c)] & _LEADBYTE)
461 #endif /* _CTYPE_DISABLE_MACROS */
462 #endif /* _CRT_USE_WINAPI_FAMILY_DESKTOP_APP */
463 
464 #endif /* !defined (__cplusplus) || defined (_M_CEE_PURE) || defined (MRTDLL) || defined (_CRT_WCTYPE_NOINLINE) */
465 #define _WCTYPE_INLINE_DEFINED
466 #endif /* _WCTYPE_INLINE_DEFINED */
467 
468 
469 
470 /* define structure for returning status information */
471 
472 #ifndef _INO_T_DEFINED
473 typedef unsigned short _ino_t; /* i-node number (not used on DOS) */
474 #if !__STDC__
475 /* Non-ANSI name for compatibility */
476 typedef unsigned short ino_t;
477 #endif /* !__STDC__ */
478 #define _INO_T_DEFINED
479 #endif /* _INO_T_DEFINED */
480 
481 #ifndef _DEV_T_DEFINED
482 typedef unsigned int _dev_t; /* device code */
483 #if !__STDC__
484 /* Non-ANSI name for compatibility */
485 typedef unsigned int dev_t;
486 #endif /* !__STDC__ */
487 #define _DEV_T_DEFINED
488 #endif /* _DEV_T_DEFINED */
489 
490 #ifndef _OFF_T_DEFINED
491 typedef long _off_t; /* file offset value */
492 #if !__STDC__
493 /* Non-ANSI name for compatibility */
494 typedef long off_t;
495 #endif /* !__STDC__ */
496 #define _OFF_T_DEFINED
497 #endif /* _OFF_T_DEFINED */
498 
499 #ifndef _STAT_DEFINED
500 
501 struct _stat32 {
502  _dev_t st_dev;
503  _ino_t st_ino;
504  unsigned short st_mode;
505  short st_nlink;
506  short st_uid;
507  short st_gid;
508  _dev_t st_rdev;
509  _off_t st_size;
513  };
514 
515 #if !__STDC__
516 /* Non-ANSI names for compatibility */
517 struct stat {
518  _dev_t st_dev;
519  _ino_t st_ino;
520  unsigned short st_mode;
521  short st_nlink;
522  short st_uid;
523  short st_gid;
524  _dev_t st_rdev;
525  _off_t st_size;
529  };
530 
531 #endif /* !__STDC__ */
532 
533 struct _stat32i64 {
534  _dev_t st_dev;
535  _ino_t st_ino;
536  unsigned short st_mode;
537  short st_nlink;
538  short st_uid;
539  short st_gid;
540  _dev_t st_rdev;
541  __int64 st_size;
545  };
546 
547 struct _stat64i32 {
548  _dev_t st_dev;
549  _ino_t st_ino;
550  unsigned short st_mode;
551  short st_nlink;
552  short st_uid;
553  short st_gid;
554  _dev_t st_rdev;
555  _off_t st_size;
559  };
560 
561 struct _stat64 {
562  _dev_t st_dev;
563  _ino_t st_ino;
564  unsigned short st_mode;
565  short st_nlink;
566  short st_uid;
567  short st_gid;
568  _dev_t st_rdev;
569  __int64 st_size;
573  };
574 
575 /*
576  * We have to have same name for structure and the fuction so as to do the
577  * macro magic.we need the structure name and function name the same.
578  */
579 #define __stat64 _stat64
580 
581 #ifdef _USE_32BIT_TIME_T
582 #define _fstat _fstat32
583 #define _fstati64 _fstat32i64
584 #define _stat _stat32
585 #define _stati64 _stat32i64
586 #define _wstat _wstat32
587 #define _wstati64 _wstat32i64
588 
589 #else /* _USE_32BIT_TIME_T */
590 #define _fstat _fstat64i32
591 #define _fstati64 _fstat64
592 #define _stat _stat64i32
593 #define _stati64 _stat64
594 #define _wstat _wstat64i32
595 #define _wstati64 _wstat64
596 
597 #endif /* _USE_32BIT_TIME_T */
598 
599 
600 #define _STAT_DEFINED
601 #endif /* _STAT_DEFINED */
602 
603 #ifndef _WSTAT_DEFINED
604 
605 /* also declared in wchar.h */
606 
607 _CRTIMP int __cdecl _wstat32(_In_z_ const wchar_t * _Name, _Out_ struct _stat32 * _Stat);
608 
609 _CRTIMP int __cdecl _wstat32i64(_In_z_ const wchar_t * _Name, _Out_ struct _stat32i64 * _Stat);
610 _CRTIMP int __cdecl _wstat64i32(_In_z_ const wchar_t * _Name, _Out_ struct _stat64i32 * _Stat);
611 _CRTIMP int __cdecl _wstat64(_In_z_ const wchar_t * _Name, _Out_ struct _stat64 * _Stat);
612 
613 #define _WSTAT_DEFINED
614 #endif /* _WSTAT_DEFINED */
615 
616 
617 #ifdef _CRT_USE_WINAPI_FAMILY_DESKTOP_APP
618 
619 #ifndef _WCONIO_DEFINED
620 
621 /* wide function prototypes, also declared in conio.h */
622 
623 #ifndef WEOF
624 #define WEOF (wint_t)(0xFFFF)
625 #endif /* WEOF */
626 
627 _Check_return_wat_ _CRTIMP errno_t __cdecl _cgetws_s(_Out_writes_to_(_SizeInWords, *_SizeRead) wchar_t * _Buffer, size_t _SizeInWords, _Out_ size_t * _SizeRead);
628 __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_1(errno_t, _cgetws_s, _Post_readable_size_(*_Buffer) wchar_t, _Buffer, size_t *, _SizeRead)
629 __DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_0_CGETS(wchar_t *, _CRTIMP, _cgetws, _Inout_z_, wchar_t, _Buffer)
630 _Check_return_ _CRTIMP wint_t __cdecl _getwch(void);
631 _Check_return_ _CRTIMP wint_t __cdecl _getwche(void);
632 _Check_return_ _CRTIMP wint_t __cdecl _putwch(wchar_t _WCh);
633 _Check_return_ _CRTIMP wint_t __cdecl _ungetwch(wint_t _WCh);
634 _Check_return_opt_ _CRTIMP int __cdecl _cputws(_In_z_ const wchar_t * _String);
635 _Check_return_opt_ _CRTIMP int __cdecl _cwprintf(_In_z_ _Printf_format_string_ const wchar_t * _Format, ...);
636 _Check_return_opt_ _CRTIMP int __cdecl _cwprintf_s(_In_z_ _Printf_format_string_ const wchar_t * _Format, ...);
637 _Check_return_opt_ _CRT_INSECURE_DEPRECATE(_cwscanf_s) _CRTIMP int __cdecl _cwscanf(_In_z_ _Scanf_format_string_ const wchar_t * _Format, ...);
639 _Check_return_opt_ _CRTIMP int __cdecl _cwscanf_s(_In_z_ _Scanf_s_format_string_ const wchar_t * _Format, ...);
640 _Check_return_opt_ _CRTIMP int __cdecl _cwscanf_s_l(_In_z_ _Scanf_s_format_string_params_(0) const wchar_t * _Format, _In_opt_ _locale_t _Locale, ...);
641 _Check_return_opt_ _CRTIMP int __cdecl _vcwprintf(_In_z_ _Printf_format_string_ const wchar_t *_Format, va_list _ArgList);
642 _Check_return_opt_ _CRTIMP int __cdecl _vcwprintf_s(_In_z_ _Printf_format_string_ const wchar_t *_Format, va_list _ArgList);
643 
644 _Check_return_opt_ _CRTIMP int __cdecl _cwprintf_p(_In_z_ _Printf_format_string_ const wchar_t * _Format, ...);
645 _Check_return_opt_ _CRTIMP int __cdecl _vcwprintf_p(_In_z_ _Printf_format_string_ const wchar_t* _Format, va_list _ArgList);
646 
647 _CRTIMP int __cdecl _cwprintf_l(_In_z_ _Printf_format_string_params_(0) const wchar_t * _Format, _In_opt_ _locale_t _Locale, ...);
648 _CRTIMP int __cdecl _cwprintf_s_l(_In_z_ _Printf_format_string_params_(0) const wchar_t * _Format, _In_opt_ _locale_t _Locale, ...);
649 _CRTIMP int __cdecl _vcwprintf_l(_In_z_ _Printf_format_string_params_(2) const wchar_t *_Format, _In_opt_ _locale_t _Locale, va_list _ArgList);
650 _CRTIMP int __cdecl _vcwprintf_s_l(_In_z_ _Printf_format_string_params_(2) const wchar_t * _Format, _In_opt_ _locale_t _Locale, va_list _ArgList);
651 _CRTIMP int __cdecl _cwprintf_p_l(_In_z_ _Printf_format_string_params_(0) const wchar_t * _Format, _In_opt_ _locale_t _Locale, ...);
652 _CRTIMP int __cdecl _vcwprintf_p_l(_In_z_ _Printf_format_string_params_(2) const wchar_t * _Format, _In_opt_ _locale_t _Locale, va_list _ArgList);
653 
654 _Check_return_opt_ wint_t __cdecl _putwch_nolock(wchar_t _WCh);
655 _Check_return_ wint_t __cdecl _getwch_nolock(void);
658 
659 #define _WCONIO_DEFINED
660 #endif /* _WCONIO_DEFINED */
661 
662 #endif /* _CRT_USE_WINAPI_FAMILY_DESKTOP_APP */
663 
664 
665 #ifndef _WSTDIO_DEFINED
666 
667 /* wide function prototypes, also declared in stdio.h */
668 
669 #ifndef WEOF
670 #define WEOF (wint_t)(0xFFFF)
671 #endif /* WEOF */
672 
673 _Check_return_ _CRTIMP FILE * __cdecl _wfsopen(_In_z_ const wchar_t * _Filename, _In_z_ const wchar_t * _Mode, _In_ int _ShFlag);
674 
675 _Check_return_opt_ _CRTIMP wint_t __cdecl fgetwc(_Inout_ FILE * _File);
676 _Check_return_opt_ _CRTIMP wint_t __cdecl _fgetwchar(void);
677 _Check_return_opt_ _CRTIMP wint_t __cdecl fputwc(_In_ wchar_t _Ch, _Inout_ FILE * _File);
678 _Check_return_opt_ _CRTIMP wint_t __cdecl _fputwchar(_In_ wchar_t _Ch);
679 _Check_return_ _CRTIMP wint_t __cdecl getwc(_Inout_ FILE * _File);
680 _Check_return_ _CRTIMP wint_t __cdecl getwchar(void);
681 _Check_return_opt_ _CRTIMP wint_t __cdecl putwc(_In_ wchar_t _Ch, _Inout_ FILE * _File);
682 _Check_return_opt_ _CRTIMP wint_t __cdecl putwchar(_In_ wchar_t _Ch);
684 
685 _Check_return_opt_ _CRTIMP wchar_t * __cdecl fgetws(_Out_writes_z_(_SizeInWords) wchar_t * _Dst, _In_ int _SizeInWords, _Inout_ FILE * _File);
686 _Check_return_opt_ _CRTIMP int __cdecl fputws(_In_z_ const wchar_t * _Str, _Inout_ FILE * _File);
687 _Check_return_opt_ _CRTIMP wchar_t * __cdecl _getws_s(_Out_writes_z_(_SizeInWords) wchar_t * _Str, _In_ size_t _SizeInWords);
688 __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_0(wchar_t *, _getws_s, _Post_z_ wchar_t, _String)
689 __DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_0(wchar_t *, __RETURN_POLICY_SAME, _CRTIMP, _getws, _Pre_notnull_ _Post_z_, wchar_t, _String)
690 _Check_return_opt_ _CRTIMP int __cdecl _putws(_In_z_ const wchar_t * _Str);
691 
692 _Check_return_opt_ _CRTIMP int __cdecl fwprintf(_Inout_ FILE * _File, _In_z_ _Printf_format_string_ const wchar_t * _Format, ...);
693 #if __STDC_WANT_SECURE_LIB__
694 _Check_return_opt_ _CRTIMP int __cdecl fwprintf_s(_Inout_ FILE * _File, _In_z_ _Printf_format_string_ const wchar_t * _Format, ...);
695 #endif /* __STDC_WANT_SECURE_LIB__ */
696 _Check_return_opt_ _CRTIMP int __cdecl wprintf(_In_z_ _Printf_format_string_ const wchar_t * _Format, ...);
697 #if __STDC_WANT_SECURE_LIB__
698 _Check_return_opt_ _CRTIMP int __cdecl wprintf_s(_In_z_ _Printf_format_string_ const wchar_t * _Format, ...);
699 #endif /* __STDC_WANT_SECURE_LIB__ */
700 _Check_return_ _CRTIMP int __cdecl _scwprintf(_In_z_ _Printf_format_string_ const wchar_t * _Format, ...);
701 _Check_return_opt_ _CRTIMP int __cdecl vfwprintf(_Inout_ FILE * _File, _In_z_ _Printf_format_string_ const wchar_t * _Format, va_list _ArgList);
702 _Check_return_opt_ _CRTIMP int __cdecl vfwscanf(_Inout_ FILE * _File, _In_z_ _Printf_format_string_ const wchar_t * _Format, va_list _ArgList);
703 #if __STDC_WANT_SECURE_LIB__
704 _Check_return_opt_ _CRTIMP int __cdecl vfwprintf_s(_Inout_ FILE * _File, _In_z_ _Printf_format_string_ const wchar_t * _Format, va_list _ArgList);
705 _Check_return_opt_ _CRTIMP int __cdecl vfwscanf_s(_Inout_ FILE * _File, _In_z_ _Printf_format_string_ const wchar_t * _Format, va_list _ArgList);
706 #endif /* __STDC_WANT_SECURE_LIB__ */
707 _Check_return_opt_ _CRTIMP int __cdecl vwprintf(_In_z_ _Printf_format_string_ const wchar_t * _Format, va_list _ArgList);
708 _Check_return_opt_ _CRTIMP int __cdecl vwscanf(_In_z_ _Printf_format_string_ const wchar_t * _Format, va_list _ArgList);
709 #if __STDC_WANT_SECURE_LIB__
710 _Check_return_opt_ _CRTIMP int __cdecl vwprintf_s(_In_z_ _Printf_format_string_ const wchar_t * _Format, va_list _ArgList);
711 _Check_return_opt_ _CRTIMP int __cdecl vwscanf_s(_In_z_ _Printf_format_string_ const wchar_t * _Format, va_list _ArgList);
712 #endif /* __STDC_WANT_SECURE_LIB__ */
713 
714 #if __STDC_WANT_SECURE_LIB__
715 _CRTIMP_ALTERNATIVE int __cdecl swprintf_s(_Out_writes_z_(_SizeInWords) wchar_t * _Dst, _In_ size_t _SizeInWords, _In_z_ _Printf_format_string_ const wchar_t * _Format, ...);
716 #endif /* __STDC_WANT_SECURE_LIB__ */
717 __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_1_ARGLIST(int, swprintf_s, vswprintf_s, _Post_z_ wchar_t, _Dest, _In_z_ _Printf_format_string_ const wchar_t *, _Format)
718 #if __STDC_WANT_SECURE_LIB__
719 _CRTIMP_ALTERNATIVE int __cdecl vswprintf_s(_Out_writes_z_(_SizeInWords) wchar_t * _Dst, _In_ size_t _SizeInWords, _In_z_ _Printf_format_string_ const wchar_t * _Format, va_list _ArgList);
720 _Check_return_opt_ _CRTIMP_ALTERNATIVE int __cdecl vswscanf_s(const wchar_t * _Dst, _In_z_ _Printf_format_string_ const wchar_t * _Format, va_list _ArgList);
721 #endif /* __STDC_WANT_SECURE_LIB__ */
722 __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_2(int, vswprintf_s, _Post_z_ wchar_t, _Dest, _In_z_ _Printf_format_string_ const wchar_t *, _Format, va_list, _Args)
723 __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_2(int, vswscanf_s, _Post_z_ wchar_t, _Dest, _In_z_ _Printf_format_string_ const wchar_t *, _Format, va_list, _Args)
724 _Check_return_opt_ _CRTIMP int __cdecl vswscanf(const wchar_t * _srcBuf, _In_z_ _Printf_format_string_ const wchar_t * _Format, va_list _ArgList);
725 
726 _Check_return_opt_ _CRTIMP int __cdecl _swprintf_c(_Out_writes_z_(_SizeInWords) wchar_t * _DstBuf, _In_ size_t _SizeInWords, _In_z_ _Printf_format_string_ const wchar_t * _Format, ...);
727 _Check_return_opt_ _CRTIMP int __cdecl _vswprintf_c(_Out_writes_z_(_SizeInWords) wchar_t * _DstBuf, _In_ size_t _SizeInWords, _In_z_ _Printf_format_string_ const wchar_t * _Format, va_list _ArgList);
728 
729 _Check_return_opt_ _CRTIMP_ALTERNATIVE int __cdecl _snwprintf_s(_Out_writes_z_(_DstSizeInWords) wchar_t * _DstBuf, _In_ size_t _DstSizeInWords, _In_ size_t _MaxCount, _In_z_ _Printf_format_string_ const wchar_t * _Format, ...);
730 __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_2_ARGLIST(int, _snwprintf_s, _vsnwprintf_s, _Post_z_ wchar_t, _Dest, _In_ size_t, _Count, _In_z_ _Printf_format_string_ const wchar_t *, _Format)
731 _Check_return_opt_ _CRTIMP_ALTERNATIVE int __cdecl _vsnwprintf_s(_Out_writes_z_(_DstSizeInWords) wchar_t * _DstBuf, _In_ size_t _DstSizeInWords, _In_ size_t _MaxCount, _In_z_ _Printf_format_string_ const wchar_t * _Format, va_list _ArgList);
732 __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_3(int, _vsnwprintf_s, _Post_z_ wchar_t, _Dest, _In_ size_t, _Count, _In_z_ _Printf_format_string_ const wchar_t *, _Format, va_list, _Args)
733 __DEFINE_CPP_OVERLOAD_STANDARD_NFUNC_0_2_ARGLIST_EX(int, __RETURN_POLICY_SAME, _CRTIMP, _snwprintf, _vsnwprintf, _Pre_notnull_ _Post_maybez_ wchar_t, _Out_writes_(_Count) _Post_maybez_, wchar_t, _Dest, _In_ size_t, _Count, _In_z_ _Printf_format_string_ const wchar_t *, _Format)
734 
735 _Check_return_opt_ _CRTIMP int __cdecl _fwprintf_p(_Inout_ FILE * _File, _In_z_ _Printf_format_string_ const wchar_t * _Format, ...);
736 _Check_return_opt_ _CRTIMP int __cdecl _wprintf_p(_In_z_ _Printf_format_string_ const wchar_t * _Format, ...);
737 _Check_return_opt_ _CRTIMP int __cdecl _vfwprintf_p(_Inout_ FILE * _File, _In_z_ _Printf_format_string_ const wchar_t * _Format, va_list _ArgList);
738 _Check_return_opt_ _CRTIMP int __cdecl _vwprintf_p(_In_z_ _Printf_format_string_ const wchar_t * _Format, va_list _ArgList);
739 _Check_return_opt_ _CRTIMP int __cdecl _swprintf_p(_Out_writes_z_(_MaxCount) wchar_t * _DstBuf, _In_ size_t _MaxCount, _In_z_ _Printf_format_string_ const wchar_t * _Format, ...);
740 _Check_return_opt_ _CRTIMP int __cdecl _vswprintf_p(_Out_writes_z_(_MaxCount) wchar_t * _DstBuf, _In_ size_t _MaxCount, _In_z_ _Printf_format_string_ const wchar_t * _Format, va_list _ArgList);
741 _Check_return_ _CRTIMP int __cdecl _scwprintf_p(_In_z_ _Printf_format_string_ const wchar_t * _Format, ...);
742 _Check_return_ _CRTIMP int __cdecl _vscwprintf_p(_In_z_ _Printf_format_string_ const wchar_t * _Format, va_list _ArgList);
743 
744 _Check_return_opt_ _CRTIMP int __cdecl _wprintf_l(_In_z_ _Printf_format_string_params_(0) const wchar_t * _Format, _In_opt_ _locale_t _Locale, ...);
745 _Check_return_opt_ _CRTIMP int __cdecl _wprintf_p_l(_In_z_ _Printf_format_string_params_(0) const wchar_t * _Format, _In_opt_ _locale_t _Locale, ...);
746 _Check_return_opt_ _CRTIMP int __cdecl _wprintf_s_l(_In_z_ _Printf_format_string_params_(0) const wchar_t * _Format, _In_opt_ _locale_t _Locale, ...);
747 _Check_return_opt_ _CRTIMP int __cdecl _vwprintf_l(_In_z_ _Printf_format_string_params_(2) const wchar_t * _Format, _In_opt_ _locale_t _Locale, va_list _ArgList);
748 _Check_return_opt_ _CRTIMP int __cdecl _vwprintf_p_l(_In_z_ _Printf_format_string_params_(2) const wchar_t * _Format, _In_opt_ _locale_t _Locale, va_list _ArgList);
749 _Check_return_opt_ _CRTIMP int __cdecl _vwprintf_s_l(_In_z_ _Printf_format_string_params_(2) const wchar_t * _Format, _In_opt_ _locale_t _Locale, va_list _ArgList);
750 
751 _Check_return_opt_ _CRTIMP int __cdecl _fwprintf_l(_Inout_ FILE * _File, _In_z_ _Printf_format_string_params_(0) const wchar_t * _Format, _In_opt_ _locale_t _Locale, ...);
752 _Check_return_opt_ _CRTIMP int __cdecl _fwprintf_p_l(_Inout_ FILE * _File, _In_z_ _Printf_format_string_params_(0) const wchar_t * _Format, _In_opt_ _locale_t _Locale, ...);
753 _Check_return_opt_ _CRTIMP int __cdecl _fwprintf_s_l(_Inout_ FILE * _File, _In_z_ _Printf_format_string_params_(0) const wchar_t * _Format, _In_opt_ _locale_t _Locale, ...);
754 _Check_return_opt_ _CRTIMP int __cdecl _vfwprintf_l(_Inout_ FILE * _File, _In_z_ _Printf_format_string_params_(2) const wchar_t * _Format, _In_opt_ _locale_t _Locale, va_list _ArgList);
755 _Check_return_opt_ _CRTIMP int __cdecl _vfwprintf_p_l(_Inout_ FILE * _File, _In_z_ _Printf_format_string_params_(2) const wchar_t * _Format, _In_opt_ _locale_t _Locale, va_list _ArgList);
756 _Check_return_opt_ _CRTIMP int __cdecl _vfwprintf_s_l(_Inout_ FILE * _File, _In_z_ _Printf_format_string_params_(2) const wchar_t * _Format, _In_opt_ _locale_t _Locale, va_list _ArgList);
757 
758 _Check_return_opt_ _CRTIMP int __cdecl _swprintf_c_l(_Out_writes_z_(_MaxCount) wchar_t * _DstBuf, _In_ size_t _MaxCount, _In_z_ _Printf_format_string_params_(0) const wchar_t * _Format, _In_opt_ _locale_t _Locale, ...);
759 _Check_return_opt_ _CRTIMP int __cdecl _swprintf_p_l(_Out_writes_z_(_MaxCount) wchar_t * _DstBuf, _In_ size_t _MaxCount, _In_z_ _Printf_format_string_params_(0) const wchar_t * _Format, _In_opt_ _locale_t _Locale, ...);
760 _Check_return_opt_ _CRTIMP_ALTERNATIVE int __cdecl _swprintf_s_l(_Out_writes_z_(_DstSize) wchar_t * _DstBuf, _In_ size_t _DstSize, _In_z_ _Printf_format_string_params_(0) const wchar_t * _Format, _In_opt_ _locale_t _Locale, ...);
761 _Check_return_opt_ _CRTIMP int __cdecl _vswprintf_c_l(_Out_writes_z_(_MaxCount) wchar_t * _DstBuf, _In_ size_t _MaxCount, _In_z_ _Printf_format_string_params_(2) const wchar_t * _Format, _In_opt_ _locale_t _Locale, va_list _ArgList);
762 _Check_return_opt_ _CRTIMP int __cdecl _vswprintf_p_l(_Out_writes_z_(_MaxCount) wchar_t * _DstBuf, _In_ size_t _MaxCount, _In_z_ _Printf_format_string_params_(2) const wchar_t * _Format, _In_opt_ _locale_t _Locale, va_list _ArgList);
763 _Check_return_opt_ _CRTIMP_ALTERNATIVE int __cdecl _vswprintf_s_l(_Out_writes_z_(_DstSize) wchar_t * _DstBuf, _In_ size_t _DstSize, _In_z_ _Printf_format_string_params_(2) const wchar_t * _Format, _In_opt_ _locale_t _Locale, va_list _ArgList);
764 
765 _Check_return_ _CRTIMP int __cdecl _scwprintf_l(_In_z_ _Printf_format_string_params_(0) const wchar_t * _Format, _In_opt_ _locale_t _Locale, ...);
766 _Check_return_ _CRTIMP int __cdecl _scwprintf_p_l(_In_z_ _Printf_format_string_params_(0) const wchar_t * _Format, _In_opt_ _locale_t _Locale, ...);
767 _Check_return_ _CRTIMP int __cdecl _vscwprintf_p_l(_In_z_ _Printf_format_string_params_(2) const wchar_t * _Format, _In_opt_ _locale_t _Locale, va_list _ArgList);
768 
769 _Check_return_opt_ _CRT_INSECURE_DEPRECATE(_snwprintf_s_l) _CRTIMP int __cdecl _snwprintf_l(_Out_writes_(_MaxCount) wchar_t * _DstBuf, _In_ size_t _MaxCount, _In_z_ _Printf_format_string_params_(0) const wchar_t * _Format, _In_opt_ _locale_t _Locale, ...);
770 _Check_return_opt_ _CRTIMP_ALTERNATIVE int __cdecl _snwprintf_s_l(_Out_writes_z_(_DstSize) wchar_t * _DstBuf, _In_ size_t _DstSize, _In_ size_t _MaxCount, _In_z_ _Printf_format_string_params_(0) const wchar_t * _Format, _In_opt_ _locale_t _Locale, ...);
771 _Check_return_opt_ _CRT_INSECURE_DEPRECATE(_vsnwprintf_s_l) _CRTIMP int __cdecl _vsnwprintf_l(_Out_writes_(_MaxCount) wchar_t * _DstBuf, _In_ size_t _MaxCount, _In_z_ _Printf_format_string_params_(2) const wchar_t * _Format, _In_opt_ _locale_t _Locale, va_list _ArgList);
772 _Check_return_opt_ _CRTIMP_ALTERNATIVE int __cdecl _vsnwprintf_s_l(_Out_writes_z_(_DstSize) wchar_t * _DstBuf, _In_ size_t _DstSize, _In_ size_t _MaxCount, _In_z_ _Printf_format_string_params_(2) const wchar_t * _Format, _In_opt_ _locale_t _Locale, va_list _ArgList);
773 
774 #ifndef _CRT_NON_CONFORMING_SWPRINTFS
775 
776 #define _SWPRINTFS_DEPRECATED _CRT_DEPRECATE_TEXT("swprintf has been changed to conform with the ISO C standard, adding an extra character count parameter. To use traditional Microsoft swprintf, set _CRT_NON_CONFORMING_SWPRINTFS.")
777 
778 #else /* _CRT_NON_CONFORMING_SWPRINTFS */
779 
780 #define _SWPRINTFS_DEPRECATED
781 
782 #endif /* _CRT_NON_CONFORMING_SWPRINTFS */
783 
784 /* we could end up with a double deprecation, disable warnings 4141 and 4996 */
785 #pragma warning(push)
786 #pragma warning(disable:4141 4996)
787 __DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_1_ARGLIST_EX(int, __RETURN_POLICY_SAME, _SWPRINTFS_DEPRECATED _CRTIMP, _swprintf, _swprintf_s, _vswprintf, vswprintf_s, _Pre_notnull_ _Post_z_, wchar_t, _Dest, _In_z_ _Printf_format_string_ const wchar_t *, _Format)
788 __DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_2_ARGLIST_EX(int, __RETURN_POLICY_SAME, _SWPRINTFS_DEPRECATED _CRTIMP, __swprintf_l, __vswprintf_l, _vswprintf_s_l, _Pre_notnull_ _Post_z_ wchar_t, _Out_, wchar_t, _Dest, _In_z_ _Printf_format_string_params_(2) const wchar_t *, _Format, _locale_t, _Plocinfo)
789 #pragma warning(pop)
790 
791 #if !defined (RC_INVOKED) && !defined (__midl)
792 #include <swprintf.inl>
793 #endif /* !defined (RC_INVOKED) && !defined (__midl) */
794 
795 #ifdef _CRT_NON_CONFORMING_SWPRINTFS
796 #ifndef __cplusplus
797 #define swprintf _swprintf
798 #define vswprintf _vswprintf
799 #define _swprintf_l __swprintf_l
800 #define _vswprintf_l __vswprintf_l
801 #endif /* __cplusplus */
802 #endif /* _CRT_NON_CONFORMING_SWPRINTFS */
803 
804 #if defined (_DEBUG) && defined (_CRTDBG_MAP_ALLOC)
805 #pragma push_macro("_wtempnam")
806 #undef _wtempnam
807 #endif /* defined (_DEBUG) && defined (_CRTDBG_MAP_ALLOC) */
808 
809 _Check_return_ _CRTIMP wchar_t * __cdecl _wtempnam(_In_opt_z_ const wchar_t * _Directory, _In_opt_z_ const wchar_t * _FilePrefix);
810 
811 #if defined (_DEBUG) && defined (_CRTDBG_MAP_ALLOC)
812 #pragma pop_macro("_wtempnam")
813 #endif /* defined (_DEBUG) && defined (_CRTDBG_MAP_ALLOC) */
814 
815 _Check_return_ _CRTIMP int __cdecl _vscwprintf(_In_z_ _Printf_format_string_ const wchar_t * _Format, va_list _ArgList);
816 _Check_return_ _CRTIMP int __cdecl _vscwprintf_l(_In_z_ _Printf_format_string_params_(2) const wchar_t * _Format, _In_opt_ _locale_t _Locale, va_list _ArgList);
817 _Check_return_ _CRT_INSECURE_DEPRECATE(fwscanf_s) _CRTIMP int __cdecl fwscanf(_Inout_ FILE * _File, _In_z_ _Scanf_format_string_ const wchar_t * _Format, ...);
818 _Check_return_opt_ _CRT_INSECURE_DEPRECATE(_fwscanf_s_l) _CRTIMP int __cdecl _fwscanf_l(_Inout_ FILE * _File, _In_z_ _Scanf_format_string_params_(0) const wchar_t * _Format, _In_opt_ _locale_t _Locale, ...);
819 #if __STDC_WANT_SECURE_LIB__
820 _Check_return_opt_ _CRTIMP int __cdecl fwscanf_s(_Inout_ FILE * _File, _In_z_ _Scanf_s_format_string_ const wchar_t * _Format, ...);
821 #endif /* __STDC_WANT_SECURE_LIB__ */
822 _Check_return_opt_ _CRTIMP int __cdecl _fwscanf_s_l(_Inout_ FILE * _File, _In_z_ _Scanf_s_format_string_params_(0) const wchar_t * _Format, _In_opt_ _locale_t _Locale, ...);
823 _Check_return_ _CRT_INSECURE_DEPRECATE(swscanf_s) _CRTIMP int __cdecl swscanf(_In_z_ const wchar_t * _Src, _In_z_ _Scanf_format_string_ const wchar_t * _Format, ...);
824 _Check_return_opt_ _CRT_INSECURE_DEPRECATE(_swscanf_s_l) _CRTIMP int __cdecl _swscanf_l(_In_z_ const wchar_t * _Src, _In_z_ _Scanf_format_string_params_(0) const wchar_t * _Format, _In_opt_ _locale_t _Locale, ...);
825 #if __STDC_WANT_SECURE_LIB__
826 _Check_return_opt_ _CRTIMP_ALTERNATIVE int __cdecl swscanf_s(_In_z_ const wchar_t *_Src, _In_z_ _Scanf_s_format_string_ const wchar_t * _Format, ...);
827 #endif /* __STDC_WANT_SECURE_LIB__ */
828 _Check_return_opt_ _CRTIMP_ALTERNATIVE int __cdecl _swscanf_s_l(_In_z_ const wchar_t * _Src, _In_z_ _Scanf_s_format_string_params_(0) const wchar_t * _Format, _In_opt_ _locale_t _Locale, ...);
829 _Check_return_opt_ _CRT_INSECURE_DEPRECATE(_snwscanf_s) _CRTIMP int __cdecl _snwscanf(_In_reads_(_MaxCount) _Pre_z_ const wchar_t * _Src, _In_ size_t _MaxCount, _In_z_ _Scanf_format_string_ const wchar_t * _Format, ...);
830 _Check_return_opt_ _CRT_INSECURE_DEPRECATE(_snwscanf_s_l) _CRTIMP int __cdecl _snwscanf_l(_In_reads_(_MaxCount) _Pre_z_ const wchar_t * _Src, _In_ size_t _MaxCount, _In_z_ _Scanf_format_string_params_(0) const wchar_t * _Format, _In_opt_ _locale_t _Locale, ...);
831 _Check_return_opt_ _CRTIMP_ALTERNATIVE int __cdecl _snwscanf_s(_In_reads_(_MaxCount) _Pre_z_ const wchar_t * _Src, _In_ size_t _MaxCount, _In_z_ _Scanf_s_format_string_ const wchar_t * _Format, ...);
832 _Check_return_opt_ _CRTIMP_ALTERNATIVE int __cdecl _snwscanf_s_l(_In_reads_(_MaxCount) _Pre_z_ const wchar_t * _Src, _In_ size_t _MaxCount, _In_z_ _Scanf_s_format_string_params_(0) const wchar_t * _Format, _In_opt_ _locale_t _Locale, ...);
833 _Check_return_ _CRT_INSECURE_DEPRECATE(wscanf_s) _CRTIMP int __cdecl wscanf(_In_z_ _Scanf_format_string_ const wchar_t * _Format, ...);
834 _Check_return_opt_ _CRT_INSECURE_DEPRECATE(_wscanf_s_l) _CRTIMP int __cdecl _wscanf_l(_In_z_ _Scanf_format_string_params_(0) const wchar_t * _Format, _In_opt_ _locale_t _Locale, ...);
835 #if __STDC_WANT_SECURE_LIB__
836 _Check_return_opt_ _CRTIMP_ALTERNATIVE int __cdecl wscanf_s(_In_z_ _Scanf_s_format_string_ const wchar_t * _Format, ...);
837 #endif /* __STDC_WANT_SECURE_LIB__ */
838 _Check_return_opt_ _CRTIMP_ALTERNATIVE int __cdecl _wscanf_s_l(_In_z_ _Scanf_s_format_string_params_(0) const wchar_t * _Format, _In_opt_ _locale_t _Locale, ...);
839 
840 _Check_return_ _CRTIMP FILE * __cdecl _wfdopen(_In_ int _FileHandle , _In_z_ const wchar_t * _Mode);
841 _Check_return_ _CRT_INSECURE_DEPRECATE(_wfopen_s) _CRTIMP FILE * __cdecl _wfopen(_In_z_ const wchar_t * _Filename, _In_z_ const wchar_t * _Mode);
842 _Check_return_wat_ _CRTIMP errno_t __cdecl _wfopen_s(_Outptr_result_maybenull_ FILE ** _File, _In_z_ const wchar_t * _Filename, _In_z_ const wchar_t * _Mode);
843 _Check_return_ _CRT_INSECURE_DEPRECATE(_wfreopen_s) _CRTIMP FILE * __cdecl _wfreopen(_In_z_ const wchar_t * _Filename, _In_z_ const wchar_t * _Mode, _Inout_ FILE * _OldFile);
844 _Check_return_wat_ _CRTIMP errno_t __cdecl _wfreopen_s(_Outptr_result_maybenull_ FILE ** _File, _In_z_ const wchar_t * _Filename, _In_z_ const wchar_t * _Mode, _Inout_ FILE * _OldFile);
845 
846 #ifndef _CRT_WPERROR_DEFINED
847 #define _CRT_WPERROR_DEFINED
848 _CRTIMP void __cdecl _wperror(_In_opt_z_ const wchar_t * _ErrMsg);
849 #endif /* _CRT_WPERROR_DEFINED */
850 
851 #ifdef _CRT_USE_WINAPI_FAMILY_DESKTOP_APP
852 _Check_return_ _CRTIMP FILE * __cdecl _wpopen(_In_z_ const wchar_t *_Command, _In_z_ const wchar_t * _Mode);
853 #endif /* _CRT_USE_WINAPI_FAMILY_DESKTOP_APP */
854 
855 _CRTIMP int __cdecl _wremove(_In_z_ const wchar_t * _Filename);
856 _Check_return_wat_ _CRTIMP errno_t __cdecl _wtmpnam_s(_Out_writes_z_(_SizeInWords) wchar_t * _DstBuf, _In_ size_t _SizeInWords);
857 __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_0(errno_t, _wtmpnam_s, _Post_z_ wchar_t, _Buffer)
858 __DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_0(wchar_t *, __RETURN_POLICY_DST, _CRTIMP, _wtmpnam, _Pre_maybenull_ _Post_z_, wchar_t, _Buffer)
859 
860 _Check_return_opt_ _CRTIMP wint_t __cdecl _fgetwc_nolock(_Inout_ FILE * _File);
861 _Check_return_opt_ _CRTIMP wint_t __cdecl _fputwc_nolock(_In_ wchar_t _Ch, _Inout_ FILE * _File);
862 _Check_return_opt_ _CRTIMP wint_t __cdecl _ungetwc_nolock(_In_ wint_t _Ch, _Inout_ FILE * _File);
863 
864 #ifdef _CRTBLD
865 #define _CRT_GETPUTWCHAR_NOINLINE
866 #else /* _CRTBLD */
867 #undef _CRT_GETPUTWCHAR_NOINLINE
868 #endif /* _CRTBLD */
869 
870 #if !defined (__cplusplus) || defined (_M_CEE_PURE) || defined (_CRT_GETPUTWCHAR_NOINLINE)
871 #define getwchar() fgetwc(stdin)
872 #define putwchar(_c) fputwc((_c),stdout)
873 #else /* !defined (__cplusplus) || defined (_M_CEE_PURE) || defined (_CRT_GETPUTWCHAR_NOINLINE) */
875  {return (fgetwc(stdin)); } /* stdin */
877  {return (fputwc(_C, stdout)); } /* stdout */
878 #endif /* !defined (__cplusplus) || defined (_M_CEE_PURE) || defined (_CRT_GETPUTWCHAR_NOINLINE) */
879 
880 #define getwc(_stm) fgetwc(_stm)
881 #define putwc(_c,_stm) fputwc(_c,_stm)
882 #define _putwc_nolock(_c,_stm) _fputwc_nolock(_c,_stm)
883 #define _getwc_nolock(_c) _fgetwc_nolock(_c)
884 
885 #if defined (_CRT_DISABLE_PERFCRIT_LOCKS) && !defined (_DLL)
886 #define fgetwc(_stm) _getwc_nolock(_stm)
887 #define fputwc(_c,_stm) _putwc_nolock(_c,_stm)
888 #define ungetwc(_c,_stm) _ungetwc_nolock(_c,_stm)
889 #endif /* defined (_CRT_DISABLE_PERFCRIT_LOCKS) && !defined (_DLL) */
890 
891 #define _WSTDIO_DEFINED
892 #endif /* _WSTDIO_DEFINED */
893 
894 #ifndef _WSTDLIB_DEFINED
895 
896 /* wide function prototypes, also declared in stdlib.h */
897 
898 _Check_return_wat_ _CRTIMP errno_t __cdecl _itow_s (_In_ int _Val, _Out_writes_z_(_SizeInWords) wchar_t * _DstBuf, _In_ size_t _SizeInWords, _In_ int _Radix);
899 __DEFINE_CPP_OVERLOAD_SECURE_FUNC_1_1(errno_t, _itow_s, _In_ int, _Value, _Post_z_ wchar_t, _Dest, _In_ int, _Radix)
900 __DEFINE_CPP_OVERLOAD_STANDARD_FUNC_1_1(wchar_t *, __RETURN_POLICY_DST, _CRTIMP, _itow, _In_ int, _Value, _Pre_notnull_ _Post_z_, wchar_t, _Dest, _In_ int, _Radix)
901 _Check_return_wat_ _CRTIMP errno_t __cdecl _ltow_s (_In_ long _Val, _Out_writes_z_(_SizeInWords) wchar_t * _DstBuf, _In_ size_t _SizeInWords, _In_ int _Radix);
902 __DEFINE_CPP_OVERLOAD_SECURE_FUNC_1_1(errno_t, _ltow_s, _In_ long, _Value, _Post_z_ wchar_t, _Dest, _In_ int, _Radix)
903 __DEFINE_CPP_OVERLOAD_STANDARD_FUNC_1_1(wchar_t *, __RETURN_POLICY_DST, _CRTIMP, _ltow, _In_ long, _Value, _Pre_notnull_ _Post_z_, wchar_t, _Dest, _In_ int, _Radix)
904 _Check_return_wat_ _CRTIMP errno_t __cdecl _ultow_s (_In_ unsigned long _Val, _Out_writes_z_(_SizeInWords) wchar_t * _DstBuf, _In_ size_t _SizeInWords, _In_ int _Radix);
905 __DEFINE_CPP_OVERLOAD_SECURE_FUNC_1_1(errno_t, _ultow_s, _In_ unsigned long, _Value, _Post_z_ wchar_t, _Dest, _In_ int, _Radix)
906 __DEFINE_CPP_OVERLOAD_STANDARD_FUNC_1_1(wchar_t *, __RETURN_POLICY_DST, _CRTIMP, _ultow, _In_ unsigned long, _Value, _Pre_notnull_ _Post_z_, wchar_t, _Dest, _In_ int, _Radix)
907 _Check_return_ _CRTIMP double __cdecl wcstod(_In_z_ const wchar_t * _Str, _Out_opt_ _Deref_post_z_ wchar_t ** _EndPtr);
908 _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);
909 _Check_return_ _CRTIMP long __cdecl wcstol(_In_z_ const wchar_t *_Str, _Out_opt_ _Deref_post_z_ wchar_t ** _EndPtr, int _Radix);
910 _Check_return_ _CRTIMP long __cdecl _wcstol_l(_In_z_ const wchar_t *_Str, _Out_opt_ _Deref_post_z_ wchar_t **_EndPtr, int _Radix, _In_opt_ _locale_t _Locale);
911 _Check_return_ _CRTIMP long long __cdecl wcstoll(_In_z_ const wchar_t *_Str, _Out_opt_ _Deref_post_z_ wchar_t ** _EndPtr, int _Radix);
912 _Check_return_ _CRTIMP long long __cdecl _wcstoll_l(_In_z_ const wchar_t *_Str, _Out_opt_ _Deref_post_z_ wchar_t ** _EndPtr, int _Radix, _In_opt_ _locale_t _Locale);
913 _Check_return_ _CRTIMP unsigned long __cdecl wcstoul(_In_z_ const wchar_t *_Str, _Out_opt_ _Deref_post_z_ wchar_t ** _EndPtr, int _Radix);
914 _Check_return_ _CRTIMP unsigned long __cdecl _wcstoul_l(_In_z_ const wchar_t *_Str, _Out_opt_ _Deref_post_z_ wchar_t **_EndPtr, int _Radix, _In_opt_ _locale_t _Locale);
915 _Check_return_ _CRTIMP unsigned long long __cdecl wcstoull(_In_z_ const wchar_t *_Str, _Out_opt_ _Deref_post_z_ wchar_t ** _EndPtr, int _Radix);
916 _Check_return_ _CRTIMP unsigned long long __cdecl _wcstoull_l(_In_z_ const wchar_t *_Str, _Out_opt_ _Deref_post_z_ wchar_t ** _EndPtr, int _Radix, _In_opt_ _locale_t _Locale);
917 _Check_return_ _CRTIMP long double __cdecl wcstold(_In_z_ const wchar_t * _Str, _Out_opt_ _Deref_post_z_ wchar_t ** _EndPtr);
918 _Check_return_ _CRTIMP long double __cdecl _wcstold_l(_In_z_ const wchar_t * _Str, _Out_opt_ _Deref_post_z_ wchar_t ** _EndPtr, _In_opt_ _locale_t _Locale);
919 _Check_return_ _CRTIMP float __cdecl wcstof(_In_z_ const wchar_t * _Str, _Out_opt_ _Deref_post_z_ wchar_t ** _EndPtr);
920 _Check_return_ _CRTIMP float __cdecl _wcstof_l(_In_z_ const wchar_t * _Str, _Out_opt_ _Deref_post_z_ wchar_t ** _EndPtr, _In_opt_ _locale_t _Locale);
921 
922 #ifdef _CRT_USE_WINAPI_FAMILY_DESKTOP_APP
923 
924 _Check_return_ _CRTIMP _CRT_INSECURE_DEPRECATE(_wdupenv_s) wchar_t * __cdecl _wgetenv(_In_z_ const wchar_t * _VarName);
925 _Check_return_wat_ _CRTIMP errno_t __cdecl _wgetenv_s(_Out_ size_t * _ReturnSize, _Out_writes_opt_z_(_DstSizeInWords) wchar_t * _DstBuf, _In_ size_t _DstSizeInWords, _In_z_ const wchar_t * _VarName);
926 __DEFINE_CPP_OVERLOAD_SECURE_FUNC_1_1(errno_t, _wgetenv_s, _Out_ size_t *, _ReturnSize, _Post_z_ wchar_t, _Dest, _In_z_ const wchar_t *, _VarName)
927 
928 #if defined (_DEBUG) && defined (_CRTDBG_MAP_ALLOC)
929 #pragma push_macro("_wdupenv_s")
930 #undef _wdupenv_s
931 #endif /* defined (_DEBUG) && defined (_CRTDBG_MAP_ALLOC) */
932 
933 _Check_return_wat_ _CRTIMP errno_t __cdecl _wdupenv_s(_Outptr_result_buffer_maybenull_(*_BufferSizeInWords) _Outptr_result_z_ wchar_t **_Buffer, _Out_opt_ size_t *_BufferSizeInWords, _In_z_ const wchar_t *_VarName);
934 
935 #if defined (_DEBUG) && defined (_CRTDBG_MAP_ALLOC)
936 #pragma pop_macro("_wdupenv_s")
937 #endif /* defined (_DEBUG) && defined (_CRTDBG_MAP_ALLOC) */
938 #ifndef _CRT_WSYSTEM_DEFINED
939 #define _CRT_WSYSTEM_DEFINED
940 _CRTIMP int __cdecl _wsystem(_In_opt_z_ const wchar_t * _Command);
941 #endif /* _CRT_WSYSTEM_DEFINED */
942 
943 #endif /* _CRT_USE_WINAPI_FAMILY_DESKTOP_APP */
944 
945 _Check_return_ _CRTIMP double __cdecl _wtof(_In_z_ const wchar_t *_Str);
946 _Check_return_ _CRTIMP double __cdecl _wtof_l(_In_z_ const wchar_t *_Str, _In_opt_ _locale_t _Locale);
947 _Check_return_ _CRTIMP int __cdecl _wtoi(_In_z_ const wchar_t *_Str);
948 _Check_return_ _CRTIMP int __cdecl _wtoi_l(_In_z_ const wchar_t *_Str, _In_opt_ _locale_t _Locale);
949 _Check_return_ _CRTIMP long __cdecl _wtol(_In_z_ const wchar_t *_Str);
950 _Check_return_ _CRTIMP long __cdecl _wtol_l(_In_z_ const wchar_t *_Str, _In_opt_ _locale_t _Locale);
951 _Check_return_ _CRTIMP long long __cdecl _wtoll(_In_z_ const wchar_t *_Str);
952 _Check_return_ _CRTIMP long long __cdecl _wtoll_l(_In_z_ const wchar_t *_Str, _In_opt_ _locale_t _Locale);
953 
954 _Check_return_wat_ _CRTIMP errno_t __cdecl _i64tow_s(_In_ __int64 _Val, _Out_writes_z_(_SizeInWords) wchar_t * _DstBuf, _In_ size_t _SizeInWords, _In_ int _Radix);
955 _CRTIMP _CRT_INSECURE_DEPRECATE(_i64tow_s) wchar_t * __cdecl _i64tow(_In_ __int64 _Val, _Pre_notnull_ _Post_z_ wchar_t * _DstBuf, _In_ int _Radix);
956 _Check_return_wat_ _CRTIMP errno_t __cdecl _ui64tow_s(_In_ unsigned __int64 _Val, _Out_writes_z_(_SizeInWords) wchar_t * _DstBuf, _In_ size_t _SizeInWords, _In_ int _Radix);
957 _CRTIMP _CRT_INSECURE_DEPRECATE(_ui64tow_s) wchar_t * __cdecl _ui64tow(_In_ unsigned __int64 _Val, _Pre_notnull_ _Post_z_ wchar_t * _DstBuf, _In_ int _Radix);
958 _Check_return_ _CRTIMP __int64 __cdecl _wtoi64(_In_z_ const wchar_t *_Str);
959 _Check_return_ _CRTIMP __int64 __cdecl _wtoi64_l(_In_z_ const wchar_t *_Str, _In_opt_ _locale_t _Locale);
960 _Check_return_ _CRTIMP __int64 __cdecl _wcstoi64(_In_z_ const wchar_t * _Str, _Out_opt_ _Deref_post_z_ wchar_t ** _EndPtr, _In_ int _Radix);
961 _Check_return_ _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);
962 _Check_return_ _CRTIMP unsigned __int64 __cdecl _wcstoui64(_In_z_ const wchar_t * _Str, _Out_opt_ _Deref_post_z_ wchar_t ** _EndPtr, _In_ int _Radix);
963 _Check_return_ _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);
964 
965 #define _WSTDLIB_DEFINED
966 #endif /* _WSTDLIB_DEFINED */
967 
968 
969 #ifndef _WSTDLIBP_DEFINED
970 
971 /* wide function prototypes, also declared in stdlib.h */
972 
973 #if defined (_DEBUG) && defined (_CRTDBG_MAP_ALLOC)
974 #pragma push_macro("_wfullpath")
975 #undef _wfullpath
976 #endif /* defined (_DEBUG) && defined (_CRTDBG_MAP_ALLOC) */
977 
978 _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);
979 
980 #if defined (_DEBUG) && defined (_CRTDBG_MAP_ALLOC)
981 #pragma pop_macro("_wfullpath")
982 #endif /* defined (_DEBUG) && defined (_CRTDBG_MAP_ALLOC) */
983 
984 _Check_return_wat_ _CRTIMP_ALTERNATIVE errno_t __cdecl _wmakepath_s(_Out_writes_z_(_SizeInWords) wchar_t * _PathResult, _In_ size_t _SizeInWords, _In_opt_z_ const wchar_t * _Drive, _In_opt_z_ const wchar_t * _Dir, _In_opt_z_ const wchar_t * _Filename,
985  _In_opt_z_ const wchar_t * _Ext);
986 __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_4(errno_t, _wmakepath_s, _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)
987 __DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_4(void, __RETURN_POLICY_VOID, _CRTIMP, _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)
988 #ifndef _CRT_WPERROR_DEFINED
989 #define _CRT_WPERROR_DEFINED
990 _CRTIMP void __cdecl _wperror(_In_opt_z_ const wchar_t * _ErrMsg);
991 #endif /* _CRT_WPERROR_DEFINED */
992 
993 #ifdef _CRT_USE_WINAPI_FAMILY_DESKTOP_APP
994 _Check_return_ _CRTIMP int __cdecl _wputenv(_In_z_ const wchar_t * _EnvString);
995 _Check_return_wat_ _CRTIMP errno_t __cdecl _wputenv_s(_In_z_ const wchar_t * _Name, _In_z_ const wchar_t * _Value);
996 _CRTIMP errno_t __cdecl _wsearchenv_s(_In_z_ const wchar_t * _Filename, _In_z_ const wchar_t * _EnvVar, _Out_writes_z_(_SizeInWords) wchar_t * _ResultPath, _In_ size_t _SizeInWords);
997 __DEFINE_CPP_OVERLOAD_SECURE_FUNC_2_0(errno_t, _wsearchenv_s, _In_z_ const wchar_t *, _Filename, _In_z_ const wchar_t *, _EnvVar, _Post_z_ wchar_t, _ResultPath)
998 __DEFINE_CPP_OVERLOAD_STANDARD_FUNC_2_0(void, __RETURN_POLICY_VOID, _CRTIMP, _wsearchenv, _In_z_ const wchar_t *, _Filename, _In_z_ const wchar_t *, _EnvVar, _Pre_notnull_ _Post_z_, wchar_t, _ResultPath)
999 #endif /* _CRT_USE_WINAPI_FAMILY_DESKTOP_APP */
1000 
1001 _CRT_INSECURE_DEPRECATE(_wsplitpath_s) _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);
1002 _CRTIMP_ALTERNATIVE errno_t __cdecl _wsplitpath_s(_In_z_ const wchar_t * _FullPath,
1003  _Out_writes_opt_z_(_DriveSize) wchar_t * _Drive, _In_ size_t _DriveSize,
1004  _Out_writes_opt_z_(_DirSize) wchar_t * _Dir, _In_ size_t _DirSize,
1005  _Out_writes_opt_z_(_FilenameSize) wchar_t * _Filename, _In_ size_t _FilenameSize,
1006  _Out_writes_opt_z_(_ExtSize) wchar_t * _Ext, _In_ size_t _ExtSize);
1008 
1009 #define _WSTDLIBP_DEFINED
1010 #endif /* _WSTDLIBP_DEFINED */
1011 
1012 
1013 
1014 #ifndef _WSTRING_DEFINED
1015 
1016 /* wide function prototypes, also declared in string.h */
1017 
1018 #if defined (_DEBUG) && defined (_CRTDBG_MAP_ALLOC)
1019 #pragma push_macro("_wcsdup")
1020 #undef _wcsdup
1021 #endif /* defined (_DEBUG) && defined (_CRTDBG_MAP_ALLOC) */
1022 
1023 _Check_return_ _CRTIMP wchar_t * __cdecl _wcsdup(_In_z_ const wchar_t * _Str);
1024 
1025 #if defined (_DEBUG) && defined (_CRTDBG_MAP_ALLOC)
1026 #pragma pop_macro("_wcsdup")
1027 #endif /* defined (_DEBUG) && defined (_CRTDBG_MAP_ALLOC) */
1028 
1029 #if __STDC_WANT_SECURE_LIB__
1030 _Check_return_wat_ _CRTIMP_ALTERNATIVE errno_t __cdecl wcscat_s(_Inout_updates_z_(_DstSize) wchar_t * _Dst, _In_ rsize_t _DstSize, const wchar_t * _Src);
1031 #endif /* __STDC_WANT_SECURE_LIB__ */
1032 __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_1(errno_t, wcscat_s, wchar_t, _Dest, _In_z_ const wchar_t *, _Source)
1033 #ifndef RC_INVOKED
1034 __DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_1(wchar_t *, __RETURN_POLICY_DST, _CRTIMP, wcscat, _Inout_updates_z_(_String_length_(_Dest) + _String_length_(_Source) + 1), wchar_t, _Dest, _In_z_ const wchar_t *, _Source)
1035 #endif
1036 _Check_return_ _CRTIMP _CONST_RETURN wchar_t * __cdecl wcschr(_In_z_ const wchar_t * _Str, wchar_t _Ch);
1037 _Check_return_ _CRTIMP int __cdecl wcscmp(_In_z_ const wchar_t * _Str1, _In_z_ const wchar_t * _Str2);
1038 #if __STDC_WANT_SECURE_LIB__
1039 _Check_return_wat_ _CRTIMP_ALTERNATIVE errno_t __cdecl wcscpy_s(_Out_writes_z_(_DstSize) wchar_t * _Dst, _In_ rsize_t _DstSize, _In_z_ const wchar_t * _Src);
1040 #endif /* __STDC_WANT_SECURE_LIB__ */
1041 __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_1(errno_t, wcscpy_s, _Post_z_ wchar_t, _Dest, _In_z_ const wchar_t *, _Source)
1042 __DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_1(wchar_t *, __RETURN_POLICY_DST, _CRTIMP, wcscpy, _Out_writes_z_(_String_length_(_Source) + 1), wchar_t, _Dest, _In_z_ const wchar_t *, _Source)
1043 _Check_return_ _CRTIMP size_t __cdecl wcscspn(_In_z_ const wchar_t * _Str, _In_z_ const wchar_t * _Control);
1044 _Check_return_ _CRTIMP size_t __cdecl wcslen(_In_z_ const wchar_t * _Str);
1045 _Check_return_ _CRTIMP
1046 _When_(_MaxCount > _String_length_(_Src), _Post_satisfies_(return == _String_length_(_Src)))
1047 _When_(_MaxCount <= _String_length_(_Src), _Post_satisfies_(return == _MaxCount))
1048 size_t __cdecl wcsnlen(_In_z_ const wchar_t * _Src, _In_ size_t _MaxCount);
1049 #if __STDC_WANT_SECURE_LIB__
1050 _Check_return_ static __inline
1051 _When_(_MaxCount > _String_length_(_Src), _Post_satisfies_(return == _String_length_(_Src)))
1052 _When_(_MaxCount <= _String_length_(_Src), _Post_satisfies_(return == _MaxCount))
1053 size_t __CRTDECL wcsnlen_s(_In_z_ const wchar_t * _Src, _In_ size_t _MaxCount)
1054 {
1055  return (_Src == NULL) ? 0 : wcsnlen(_Src, _MaxCount);
1056 }
1057 #endif /* __STDC_WANT_SECURE_LIB__ */
1058 #if __STDC_WANT_SECURE_LIB__
1059 _Check_return_wat_ _CRTIMP_ALTERNATIVE errno_t __cdecl wcsncat_s(_Inout_updates_z_(_DstSize) wchar_t * _Dst, _In_ rsize_t _DstSize, _In_z_ const wchar_t * _Src, _In_ rsize_t _MaxCount);
1060 #endif /* __STDC_WANT_SECURE_LIB__ */
1061 __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_2(errno_t, wcsncat_s, _Prepost_z_ wchar_t, _Dest, _In_z_ const wchar_t *, _Source, _In_ size_t, _Count)
1062 
1063 #pragma warning(push)
1064 #pragma warning(disable:6059)
1065 __DEFINE_CPP_OVERLOAD_STANDARD_NFUNC_0_2_EX(wchar_t *, __RETURN_POLICY_DST, _CRTIMP, wcsncat, wcsncat_s, _Inout_updates_z_(_Size) wchar_t, _Inout_updates_z_(_Count), wchar_t, _Dest, _In_z_ const wchar_t *, _Source, _In_ size_t, _Count)
1066 #pragma warning(pop)
1067 
1068 _Check_return_ _CRTIMP int __cdecl wcsncmp(_In_z_ const wchar_t * _Str1, _In_z_ const wchar_t * _Str2, _In_ size_t _MaxCount);
1069 #if __STDC_WANT_SECURE_LIB__
1070 _Check_return_wat_ _CRTIMP_ALTERNATIVE errno_t __cdecl wcsncpy_s(_Out_writes_z_(_DstSize) wchar_t * _Dst, _In_ rsize_t _DstSize, _In_z_ const wchar_t * _Src, _In_ rsize_t _MaxCount);
1071 #endif /* __STDC_WANT_SECURE_LIB__ */
1072 __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_2(errno_t, wcsncpy_s, wchar_t, _Dest, _In_z_ const wchar_t *, _Source, _In_ size_t, _Count)
1073 __DEFINE_CPP_OVERLOAD_STANDARD_NFUNC_0_2_EX(wchar_t *, __RETURN_POLICY_DST, _CRTIMP, wcsncpy, wcsncpy_s, _Out_writes_z_(_Size) wchar_t, _Out_writes_(_Count) _Post_maybez_, wchar_t, _Dest, _In_z_ const wchar_t *, _Source, _In_ size_t, _Count)
1074 _Check_return_ _CRTIMP _CONST_RETURN wchar_t * __cdecl wcspbrk(_In_z_ const wchar_t * _Str, _In_z_ const wchar_t * _Control);
1075 _Check_return_ _CRTIMP _CONST_RETURN wchar_t * __cdecl wcsrchr(_In_z_ const wchar_t * _Str, _In_ wchar_t _Ch);
1076 _Check_return_ _CRTIMP size_t __cdecl wcsspn(_In_z_ const wchar_t * _Str, _In_z_ const wchar_t * _Control);
1077 _Check_return_ _Ret_maybenull_ _CRTIMP _CONST_RETURN wchar_t * __cdecl wcsstr(_In_z_ const wchar_t * _Str, _In_z_ const wchar_t * _SubStr);
1078 _Check_return_ _CRT_INSECURE_DEPRECATE(wcstok_s) _CRTIMP wchar_t * __cdecl wcstok(_Inout_opt_z_ wchar_t * _Str, _In_z_ const wchar_t * _Delim);
1079 _Check_return_ _CRTIMP_ALTERNATIVE wchar_t * __cdecl wcstok_s(_Inout_opt_z_ wchar_t * _Str, _In_z_ const wchar_t * _Delim, _Inout_ _Deref_prepost_opt_z_ wchar_t ** _Context);
1080 _Check_return_ _CRT_INSECURE_DEPRECATE(_wcserror_s) _CRTIMP wchar_t * __cdecl _wcserror(_In_ int _ErrNum);
1081 _Check_return_wat_ _CRTIMP errno_t __cdecl _wcserror_s(_Out_writes_opt_z_(_SizeInWords) wchar_t * _Buf, _In_ size_t _SizeInWords, _In_ int _ErrNum);
1082 __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_1(errno_t, _wcserror_s, wchar_t, _Buffer, _In_ int, _Error)
1083 _Check_return_ _CRT_INSECURE_DEPRECATE(__wcserror_s) _CRTIMP wchar_t * __cdecl __wcserror(_In_opt_z_ const wchar_t * _Str);
1084 _Check_return_wat_ _CRTIMP errno_t __cdecl __wcserror_s(_Out_writes_opt_z_(_SizeInWords) wchar_t * _Buffer, _In_ size_t _SizeInWords, _In_z_ const wchar_t * _ErrMsg);
1085 __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_1(errno_t, __wcserror_s, wchar_t, _Buffer, _In_z_ const wchar_t *, _ErrorMessage)
1086 
1087 _Check_return_ _CRTIMP int __cdecl _wcsicmp(_In_z_ const wchar_t * _Str1, _In_z_ const wchar_t * _Str2);
1088 _Check_return_ _CRTIMP int __cdecl _wcsicmp_l(_In_z_ const wchar_t * _Str1, _In_z_ const wchar_t * _Str2, _In_opt_ _locale_t _Locale);
1089 _Check_return_ _CRTIMP int __cdecl _wcsnicmp(_In_z_ const wchar_t * _Str1, _In_z_ const wchar_t * _Str2, _In_ size_t _MaxCount);
1090 _Check_return_ _CRTIMP int __cdecl _wcsnicmp_l(_In_z_ const wchar_t * _Str1, _In_z_ const wchar_t * _Str2, _In_ size_t _MaxCount, _In_opt_ _locale_t _Locale);
1091 _Check_return_wat_ _CRTIMP_ALTERNATIVE errno_t __cdecl _wcsnset_s(_Inout_updates_z_(_DstSizeInWords) wchar_t * _Dst, _In_ size_t _DstSizeInWords, wchar_t _Val, _In_ size_t _MaxCount);
1092 __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_2(errno_t, _wcsnset_s, _Prepost_z_ wchar_t, _Dst, wchar_t, _Val, _In_ size_t, _MaxCount)
1093 __DEFINE_CPP_OVERLOAD_STANDARD_NFUNC_0_2_EX(wchar_t *, __RETURN_POLICY_DST, _CRTIMP, _wcsnset, _wcsnset_s, _Inout_updates_z_(_Size) wchar_t, _Inout_updates_z_(_MaxCount), wchar_t, _Str, wchar_t, _Val, _In_ size_t, _MaxCount)
1094 _CRTIMP wchar_t * __cdecl _wcsrev(_Inout_z_ wchar_t * _Str);
1095 _Check_return_wat_ _CRTIMP_ALTERNATIVE errno_t __cdecl _wcsset_s(_Inout_updates_z_(_SizeInWords) wchar_t * _Str, _In_ size_t _SizeInWords, wchar_t _Val);
1096 __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_1(errno_t, _wcsset_s, _Prepost_z_ wchar_t, _Str, wchar_t, _Val)
1097 __DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_1_EX(wchar_t *, __RETURN_POLICY_DST, _CRTIMP, _wcsset, _wcsset_s, _Inout_updates_z_(_Size) wchar_t, _Inout_z_, wchar_t, _Str, wchar_t, _Val)
1098 
1099 _Check_return_wat_ _CRTIMP errno_t __cdecl _wcslwr_s(_Inout_updates_z_(_SizeInWords) wchar_t * _Str, _In_ size_t _SizeInWords);
1100 __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_0(errno_t, _wcslwr_s, wchar_t, _String)
1101 __DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_0(wchar_t *, __RETURN_POLICY_DST, _CRTIMP, _wcslwr, _Inout_z_, wchar_t, _String)
1102 _Check_return_wat_ _CRTIMP errno_t __cdecl _wcslwr_s_l(_Inout_updates_z_(_SizeInWords) wchar_t * _Str, _In_ size_t _SizeInWords, _In_opt_ _locale_t _Locale);
1103 __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_1(errno_t, _wcslwr_s_l, wchar_t, _String, _In_opt_ _locale_t, _Locale)
1104 __DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_1_EX(wchar_t *, __RETURN_POLICY_DST, _CRTIMP, _wcslwr_l, _wcslwr_s_l, _Inout_updates_z_(_Size) wchar_t, _Inout_z_, wchar_t, _String, _In_opt_ _locale_t, _Locale)
1105 _Check_return_wat_ _CRTIMP errno_t __cdecl _wcsupr_s(_Inout_updates_z_(_Size) wchar_t * _Str, _In_ size_t _Size);
1106 __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_0(errno_t, _wcsupr_s, wchar_t, _String)
1107 __DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_0(wchar_t *, __RETURN_POLICY_DST, _CRTIMP, _wcsupr, _Inout_z_, wchar_t, _String)
1108 _Check_return_wat_ _CRTIMP errno_t __cdecl _wcsupr_s_l(_Inout_updates_z_(_Size) wchar_t * _Str, _In_ size_t _Size, _In_opt_ _locale_t _Locale);
1109 __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_1(errno_t, _wcsupr_s_l, _Prepost_z_ wchar_t, _String, _In_opt_ _locale_t, _Locale)
1110 __DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_1_EX(wchar_t *, __RETURN_POLICY_DST, _CRTIMP, _wcsupr_l, _wcsupr_s_l, _Inout_updates_z_(_Size) wchar_t, _Inout_z_, wchar_t, _String, _In_opt_ _locale_t, _Locale)
1111 _Check_return_opt_ _CRTIMP size_t __cdecl wcsxfrm(_Out_writes_opt_(_MaxCount) _Post_maybez_ wchar_t * _Dst, _In_z_ const wchar_t * _Src, _In_ size_t _MaxCount);
1112 _Check_return_opt_ _CRTIMP size_t __cdecl _wcsxfrm_l(_Out_writes_opt_(_MaxCount) _Post_maybez_ wchar_t * _Dst, _In_z_ const wchar_t *_Src, _In_ size_t _MaxCount, _In_opt_ _locale_t _Locale);
1113 _Check_return_ _CRTIMP int __cdecl wcscoll(_In_z_ const wchar_t * _Str1, _In_z_ const wchar_t * _Str2);
1114 _Check_return_ _CRTIMP int __cdecl _wcscoll_l(_In_z_ const wchar_t * _Str1, _In_z_ const wchar_t * _Str2, _In_opt_ _locale_t _Locale);
1115 _Check_return_ _CRTIMP int __cdecl _wcsicoll(_In_z_ const wchar_t * _Str1, _In_z_ const wchar_t * _Str2);
1116 _Check_return_ _CRTIMP int __cdecl _wcsicoll_l(_In_z_ const wchar_t * _Str1, _In_z_ const wchar_t *_Str2, _In_opt_ _locale_t _Locale);
1117 _Check_return_ _CRTIMP int __cdecl _wcsncoll(_In_z_ const wchar_t * _Str1, _In_z_ const wchar_t * _Str2, _In_ size_t _MaxCount);
1118 _Check_return_ _CRTIMP int __cdecl _wcsncoll_l(_In_z_ const wchar_t * _Str1, _In_z_ const wchar_t * _Str2, _In_ size_t _MaxCount, _In_opt_ _locale_t _Locale);
1119 _Check_return_ _CRTIMP int __cdecl _wcsnicoll(_In_z_ const wchar_t * _Str1, _In_z_ const wchar_t * _Str2, _In_ size_t _MaxCount);
1120 _Check_return_ _CRTIMP int __cdecl _wcsnicoll_l(_In_z_ const wchar_t * _Str1, _In_z_ const wchar_t * _Str2, _In_ size_t _MaxCount, _In_opt_ _locale_t _Locale);
1121 
1122 #ifdef __cplusplus
1123 #ifndef _CPP_WIDE_INLINES_DEFINED
1124 #define _CPP_WIDE_INLINES_DEFINED
1125 extern "C++" {
1126 _Check_return_ inline wchar_t * __CRTDECL wcschr(_In_z_ wchar_t *_Str, wchar_t _Ch)
1127  {return ((wchar_t *)wcschr((const wchar_t *)_Str, _Ch)); }
1128 _Check_return_ inline wchar_t * __CRTDECL wcspbrk(_In_z_ wchar_t *_Str, _In_z_ const wchar_t *_Control)
1129  {return ((wchar_t *)wcspbrk((const wchar_t *)_Str, _Control)); }
1130 _Check_return_ inline wchar_t * __CRTDECL wcsrchr(_In_z_ wchar_t *_Str, _In_ wchar_t _Ch)
1131  {return ((wchar_t *)wcsrchr((const wchar_t *)_Str, _Ch)); }
1132 _Check_return_ _Ret_maybenull_ inline wchar_t * __CRTDECL wcsstr(_In_z_ wchar_t *_Str, _In_z_ const wchar_t *_SubStr)
1133  {return ((wchar_t *)wcsstr((const wchar_t *)_Str, _SubStr)); }
1134 }
1135 #endif /* _CPP_WIDE_INLINES_DEFINED */
1136 #endif /* __cplusplus */
1137 
1138 #if !__STDC__
1139 
1140 #if defined (_DEBUG) && defined (_CRTDBG_MAP_ALLOC)
1141 #pragma push_macro("wcsdup")
1142 #undef wcsdup
1143 #endif /* defined (_DEBUG) && defined (_CRTDBG_MAP_ALLOC) */
1144 
1145 _Check_return_ _CRT_NONSTDC_DEPRECATE(_wcsdup) _CRTIMP wchar_t * __cdecl wcsdup(_In_z_ const wchar_t * _Str);
1146 
1147 #if defined (_DEBUG) && defined (_CRTDBG_MAP_ALLOC)
1148 #pragma pop_macro("wcsdup")
1149 #endif /* defined (_DEBUG) && defined (_CRTDBG_MAP_ALLOC) */
1150 
1151 /* old names */
1152 #define wcswcs wcsstr
1153 
1154 /* prototypes for oldnames.lib functions */
1155 _Check_return_ _CRT_NONSTDC_DEPRECATE(_wcsicmp) _CRTIMP int __cdecl wcsicmp(_In_z_ const wchar_t * _Str1, _In_z_ const wchar_t * _Str2);
1156 _Check_return_ _CRT_NONSTDC_DEPRECATE(_wcsnicmp) _CRTIMP int __cdecl wcsnicmp(_In_z_ const wchar_t * _Str1, _In_z_ const wchar_t * _Str2, _In_ size_t _MaxCount);
1157 _CRT_NONSTDC_DEPRECATE(_wcsnset) _CRTIMP wchar_t * __cdecl wcsnset(_Inout_updates_z_(_MaxCount) wchar_t * _Str, _In_ wchar_t _Val, _In_ size_t _MaxCount);
1158 _CRT_NONSTDC_DEPRECATE(_wcsrev) _CRTIMP wchar_t * __cdecl wcsrev(_Inout_z_ wchar_t * _Str);
1159 _CRT_NONSTDC_DEPRECATE(_wcsset) _CRTIMP wchar_t * __cdecl wcsset(_Inout_z_ wchar_t * _Str, wchar_t _Val);
1160 _CRT_NONSTDC_DEPRECATE(_wcslwr) _CRTIMP wchar_t * __cdecl wcslwr(_Inout_z_ wchar_t * _Str);
1161 _CRT_NONSTDC_DEPRECATE(_wcsupr) _CRTIMP wchar_t * __cdecl wcsupr(_Inout_z_ wchar_t * _Str);
1162 _Check_return_ _CRT_NONSTDC_DEPRECATE(_wcsicoll) _CRTIMP int __cdecl wcsicoll(_In_z_ const wchar_t * _Str1, _In_z_ const wchar_t * _Str2);
1163 
1164 #endif /* !__STDC__ */
1165 
1166 #define _WSTRING_DEFINED
1167 #endif /* _WSTRING_DEFINED */
1168 
1169 #ifndef _TM_DEFINED
1170 struct tm {
1171  int tm_sec; /* seconds after the minute - [0,59] */
1172  int tm_min; /* minutes after the hour - [0,59] */
1173  int tm_hour; /* hours since midnight - [0,23] */
1174  int tm_mday; /* day of the month - [1,31] */
1175  int tm_mon; /* months since January - [0,11] */
1176  int tm_year; /* years since 1900 */
1177  int tm_wday; /* days since Sunday - [0,6] */
1178  int tm_yday; /* days since January 1 - [0,365] */
1179  int tm_isdst; /* daylight savings time flag */
1180  };
1181 #define _TM_DEFINED
1182 #endif /* _TM_DEFINED */
1183 
1184 #ifndef _WTIME_DEFINED
1185 
1186 /* wide function prototypes, also declared in time.h */
1187 
1188 _CRT_INSECURE_DEPRECATE(_wasctime_s) _CRTIMP wchar_t * __cdecl _wasctime(_In_ const struct tm * _Tm);
1189 _CRTIMP errno_t __cdecl _wasctime_s(_Out_writes_(_SizeInWords) _Post_readable_size_(26) wchar_t *_Buf, _In_ size_t _SizeInWords, _In_ const struct tm * _Tm);
1190 __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_1(errno_t, _wasctime_s, _Post_readable_size_(26) wchar_t, _Buffer, _In_ const struct tm *, _Time)
1191 
1192 _CRT_INSECURE_DEPRECATE(_wctime32_s) _CRTIMP wchar_t * __cdecl _wctime32(_In_ const __time32_t *_Time);
1193 _CRTIMP errno_t __cdecl _wctime32_s(_Out_writes_(_SizeInWords) _Post_readable_size_(26) wchar_t* _Buf, _In_ size_t _SizeInWords, _In_ const __time32_t * _Time);
1194 __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_1(errno_t, _wctime32_s, _Post_readable_size_(26) wchar_t, _Buffer, _In_ const __time32_t *, _Time)
1195 
1196 _CRTIMP size_t __cdecl wcsftime(_Out_writes_z_(_SizeInWords) wchar_t * _Buf, _In_ size_t _SizeInWords, _In_z_ _Printf_format_string_ const wchar_t * _Format, _In_ const struct tm * _Tm);
1197 _CRTIMP size_t __cdecl _wcsftime_l(_Out_writes_z_(_SizeInWords) wchar_t * _Buf, _In_ size_t _SizeInWords, _In_z_ _Printf_format_string_ const wchar_t *_Format, _In_ const struct tm *_Tm, _In_opt_ _locale_t _Locale);
1198 
1199 _CRTIMP errno_t __cdecl _wstrdate_s(_Out_writes_(_SizeInWords) _Post_readable_size_(9) wchar_t * _Buf, _In_ size_t _SizeInWords);
1201 __DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_0(wchar_t *, __RETURN_POLICY_DST, _CRTIMP, _wstrdate, _Out_writes_z_(9), wchar_t, _Buffer)
1202 
1203 _CRTIMP errno_t __cdecl _wstrtime_s(_Out_writes_(_SizeInWords) _Post_readable_size_(9) wchar_t * _Buf, _In_ size_t _SizeInWords);
1205 __DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_0(wchar_t *, __RETURN_POLICY_DST, _CRTIMP, _wstrtime, _Out_writes_z_(9), wchar_t, _Buffer)
1206 
1207 _CRT_INSECURE_DEPRECATE(_wctime64_s) _CRTIMP wchar_t * __cdecl _wctime64(_In_ const __time64_t * _Time);
1208 _CRTIMP errno_t __cdecl _wctime64_s(_Out_writes_(_SizeInWords) _Post_readable_size_(26) wchar_t* _Buf, _In_ size_t _SizeInWords, _In_ const __time64_t *_Time);
1209 __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_1(errno_t, _wctime64_s, _Post_readable_size_(26) wchar_t, _Buffer, _In_ const __time64_t *, _Time)
1210 
1211 #if !defined (RC_INVOKED) && !defined (__midl)
1212 #include <wtime.inl>
1213 #endif /* !defined (RC_INVOKED) && !defined (__midl) */
1214 
1215 #define _WTIME_DEFINED
1216 #endif /* _WTIME_DEFINED */
1217 
1218 
1219 typedef int mbstate_t;
1220 typedef wchar_t _Wint_t;
1221 
1222 _CRTIMP wint_t __cdecl btowc(int);
1223 _CRTIMP size_t __cdecl mbrlen(_In_reads_bytes_opt_(_SizeInBytes) _Pre_opt_z_ const char * _Ch, _In_ size_t _SizeInBytes,
1224  _Out_opt_ mbstate_t * _State);
1225 _CRTIMP size_t __cdecl mbrtowc(_Pre_maybenull_ _Post_z_ wchar_t * _DstCh, _In_reads_bytes_opt_(_SizeInBytes) _Pre_opt_z_ const char * _SrcCh,
1226  _In_ size_t _SizeInBytes, _Out_opt_ mbstate_t * _State);
1227 _CRTIMP errno_t __cdecl mbsrtowcs_s(_Out_opt_ size_t* _Retval, _Out_writes_opt_z_(_Size) wchar_t * _Dst, _In_ size_t _Size, _Inout_ _Deref_prepost_opt_valid_ const char ** _PSrc, _In_ size_t _N, _Out_opt_ mbstate_t * _State);
1228 __DEFINE_CPP_OVERLOAD_SECURE_FUNC_1_3(errno_t, mbsrtowcs_s, _Out_opt_ size_t *, _Retval, _Post_z_ wchar_t, _Dest, _Inout_ _Deref_prepost_opt_valid_ const char **, _PSource, _In_ size_t, _Count, _Out_opt_ mbstate_t *, _State)
1229 __DEFINE_CPP_OVERLOAD_STANDARD_NFUNC_0_3_SIZE(_CRTIMP, mbsrtowcs, _Pre_notnull_ _Post_z_, wchar_t, _Dest, _Inout_ _Deref_prepost_opt_valid_ const char **, _PSrc, _In_ size_t, _Count, _Inout_opt_ mbstate_t *, _State)
1230 
1231 _CRTIMP errno_t __cdecl wcrtomb_s(_Out_opt_ size_t * _Retval, _Out_writes_opt_z_(_SizeInBytes) char * _Dst,
1232  _In_ size_t _SizeInBytes, _In_ wchar_t _Ch, _Out_opt_ mbstate_t * _State);
1233 __DEFINE_CPP_OVERLOAD_SECURE_FUNC_1_2(errno_t, wcrtomb_s, _Out_opt_ size_t *, _Retval, _Out_writes_opt_z_(_Size) char, _Dest, _In_ wchar_t, _Source, _Out_opt_ mbstate_t *, _State)
1234 __DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_2_SIZE(_CRTIMP, wcrtomb, _Pre_maybenull_ _Post_z_, char, _Dest, _In_ wchar_t, _Source, _Out_opt_ mbstate_t *, _State)
1235 _CRTIMP errno_t __cdecl wcsrtombs_s(_Out_opt_ size_t * _Retval, _Out_writes_bytes_to_opt_(_SizeInBytes, *_Retval) char * _Dst,
1236  _In_ size_t _SizeInBytes, _Inout_ _Deref_prepost_z_ const wchar_t ** _Src, _In_ size_t _Size, _Out_opt_ mbstate_t * _State);
1237 __DEFINE_CPP_OVERLOAD_SECURE_FUNC_1_3(errno_t, wcsrtombs_s, _Out_opt_ size_t *, _Retval, _Out_writes_opt_z_(_Size) char, _Dest, _Inout_ _Deref_prepost_z_ const wchar_t **, _PSrc, _In_ size_t, _Count, _Out_opt_ mbstate_t *, _State)
1238 __DEFINE_CPP_OVERLOAD_STANDARD_NFUNC_0_3_SIZE(_CRTIMP, wcsrtombs, _Pre_maybenull_ _Post_z_, char, _Dest, _Inout_ _Deref_prepost_z_ const wchar_t **, _PSource, _In_ size_t, _Count, _Out_opt_ mbstate_t *, _State)
1239 _CRTIMP int __cdecl wctob(_In_ wint_t _WCh);
1240 
1241 #ifndef __midl
1242 
1243 /* memcpy and memmove are defined just for use in wmemcpy and wmemmove */
1244 _CRTIMP _CRT_INSECURE_DEPRECATE_MEMORY(memmove_s) void * __cdecl memmove(_Out_writes_bytes_all_opt_(_Size) void * _Dst, _In_reads_bytes_opt_(_Size) const void * _Src, _In_ size_t _Size);
1246 _Post_equal_to_(_Dst)
1247 _At_buffer_((unsigned char*)_Dst, _Iter_, _Size, _Post_satisfies_(((unsigned char*)_Dst)[_Iter_] == ((unsigned char*)_Src)[_Iter_]))
1248 void * __cdecl memcpy(_Out_writes_bytes_all_(_Size) void * _Dst, _In_reads_bytes_(_Size) const void * _Src, _In_ size_t _Size);
1249 #if __STDC_WANT_SECURE_LIB__
1250 _CRTIMP errno_t __cdecl memcpy_s(_Out_writes_bytes_to_opt_(_DstSize, _MaxCount) void * _Dst, _In_ rsize_t _DstSize, _In_reads_bytes_opt_(_MaxCount) const void * _Src, _In_ rsize_t _MaxCount);
1251 _CRTIMP errno_t __cdecl memmove_s(_Out_writes_bytes_to_opt_(_DstSize, _MaxCount) void * _Dst, _In_ rsize_t _DstSize, _In_reads_bytes_opt_(_MaxCount) const void * _Src, _In_ rsize_t _MaxCount);
1252 #endif /* __STDC_WANT_SECURE_LIB__ */
1253 __inline int __CRTDECL fwide(_In_opt_ FILE * _F, int _M)
1254  {(void)_F; return (_M); }
1255 __inline int __CRTDECL mbsinit(_In_opt_ const mbstate_t *_P)
1256  {return (_P == NULL || *_P == 0); }
1257 __inline _CONST_RETURN wchar_t * __CRTDECL wmemchr(_In_reads_(_N) const wchar_t *_S, _In_ wchar_t _C, _In_ size_t _N)
1258  {for (; 0 < _N; ++_S, --_N)
1259  if (*_S == _C)
1260  return (_CONST_RETURN wchar_t *)(_S);
1261  return (0); }
1262 __inline int __CRTDECL wmemcmp(_In_reads_(_N) const wchar_t *_S1, _In_reads_(_N) const wchar_t *_S2, _In_ size_t _N)
1263  {for (; 0 < _N; ++_S1, ++_S2, --_N)
1264  if (*_S1 != *_S2)
1265  return (*_S1 < *_S2 ? -1 : +1);
1266  return (0); }
1267 
1268 _Post_equal_to_(_S1)
1269 _At_buffer_(_S1, _Iter_, _N, _Post_satisfies_(_S1[_Iter_] == _S2[_Iter_]))
1270 __inline _CRT_INSECURE_DEPRECATE_MEMORY(wmemcpy_s) wchar_t * __CRTDECL wmemcpy(_Out_writes_all_(_N) wchar_t *_S1, _In_reads_(_N) const wchar_t *_S2, _In_ size_t _N)
1271  {
1272 #pragma warning( push )
1273 #pragma warning( disable : 4996 6386 )
1274  return (wchar_t *)memcpy(_S1, _S2, _N*sizeof(wchar_t));
1275 #pragma warning( pop )
1276  }
1277 
1278 __inline _CRT_INSECURE_DEPRECATE_MEMORY(wmemmove_s) wchar_t * __CRTDECL wmemmove(_Out_writes_all_opt_(_N) wchar_t *_S1, _In_reads_opt_(_N) const wchar_t *_S2, _In_ size_t _N)
1279  {
1280 #pragma warning( push )
1281 #pragma warning( disable : 4996 6386 )
1282 #pragma warning( disable : 6387)
1283  /* prefast noise VSW 493303 */
1284  return (wchar_t *)memmove(_S1, _S2, _N*sizeof(wchar_t));
1285 #pragma warning( pop )
1286  }
1287 
1288 #if __STDC_WANT_SECURE_LIB__
1289 errno_t __CRTDECL wmemcpy_s(_Out_writes_to_opt_(_N1, _N) wchar_t *_S1, _In_ rsize_t _N1, _In_reads_opt_(_N) const wchar_t *_S2, rsize_t _N);
1290 errno_t __CRTDECL wmemmove_s(_Out_writes_to_opt_(_N1, _N) wchar_t *_S1, _In_ rsize_t _N1, _In_reads_opt_(_N) const wchar_t *_S2, _In_ rsize_t _N);
1291 #endif /* __STDC_WANT_SECURE_LIB__ */
1292 
1293 _Post_equal_to_(_S)
1294 _At_buffer_(_S, _Iter_, _N, _Post_satisfies_(_S[_Iter_] == _C))
1295 __inline wchar_t * __CRTDECL wmemset(_Out_writes_all_(_N) wchar_t *_S, _In_ wchar_t _C, _In_ size_t _N)
1296  {
1297  wchar_t *_Su = _S;
1298  for (; 0 < _N; ++_Su, --_N)
1299  {
1300  *_Su = _C;
1301  }
1302  return (_S);
1303  }
1304 
1305 #ifdef __cplusplus
1306 extern "C++" {
1307 inline wchar_t * __CRTDECL wmemchr(_In_reads_(_N) wchar_t *_S, _In_ wchar_t _C, _In_ size_t _N)
1308  { return (wchar_t *)wmemchr((const wchar_t *)_S, _C, _N); }
1309 }
1310 #endif /* __cplusplus */
1311 #endif /* __midl */
1312 
1313 #ifdef __cplusplus
1314 } /* end of extern "C" */
1315 #endif /* __cplusplus */
1316 
1317 #pragma pack(pop)
1318 
1319 #endif /* _INC_WCHAR */
_Check_return_ _CRTIMP int __cdecl _wfindnext32(_In_ intptr_t _FindHandle, _Out_ struct _wfinddata32_t *_FindData)
_Check_return_ _CRTIMP int __cdecl _vscwprintf_p_l(_In_z_ _Printf_format_string_params_(2) const wchar_t *_Format, _In_opt_ _locale_t _Locale, va_list _ArgList)
#define _Out_
Definition: sal.h:351
#define NULL
Definition: wchar.h:164
short st_nlink
Definition: stat.h:112
_Check_return_ _CRTIMP wchar_t *__cdecl _wcsdup(_In_z_ const wchar_t *_Str)
_Check_return_wat_ _CRTIMP errno_t __cdecl _wtmpnam_s(_Out_writes_z_(_SizeInWords) wchar_t *_DstBuf, _In_ size_t _SizeInWords)
_dev_t st_rdev
Definition: stat.h:99
#define __DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_2_SIZE(_DeclSpec, _FuncName, _SalAttributeDst, _DstType, _Dst, _TType1, _TArg1, _TType2, _TArg2)
Definition: crtdefs.h:888
_Check_return_ _CRT_INSECURE_DEPRECATE(_wsopen_s) _CRTIMP int __cdecl _wcreat(_In_z_ const wchar_t *_Filename
_Check_return_opt_ _CRTIMP int __cdecl _vcwprintf_s(_In_z_ _Printf_format_string_ const wchar_t *_Format, va_list _ArgList)
#define getwchar()
Definition: wchar.h:871
_Check_return_opt_ _CRTIMP wint_t __cdecl fputwc(_In_ wchar_t _Ch, _Inout_ FILE *_File)
_Check_return_opt_ _CRTIMP _locale_t __cdecl _wcreate_locale(_In_ int _Category, _In_z_ const wchar_t *_Locale)
#define _iswgraph_l(_c, _p)
Definition: wchar.h:455
_Check_return_ _CRT_NONSTDC_DEPRECATE(_wcsdup) _CRTIMP wchar_t *__cdecl wcsdup(_In_z_ const wchar_t *_Str)
_Check_return_wat_ _CRTIMP errno_t __cdecl _waccess_s(_In_z_ const wchar_t *_Filename, _In_ int _AccessMode)
char * _base
Definition: mbstring.h:36
#define _Out_writes_to_(size, count)
Definition: sal.h:361
_Check_return_ _CRTIMP size_t __cdecl wcsspn(_In_z_ const wchar_t *_Str, _In_z_ const wchar_t *_Control)
#define __DEFINE_CPP_OVERLOAD_STANDARD_FUNC_2_0(_ReturnType, _ReturnPolicy, _DeclSpec, _FuncName, _HType1, _HArg1, _HType2, _HArg2, _SalAttributeDst, _DstType, _Dst)
Definition: crtdefs.h:879
_CRTIMP errno_t __cdecl _wsearchenv_s(_In_z_ const wchar_t *_Filename, _In_z_ const wchar_t *_EnvVar, _Out_writes_z_(_SizeInWords) wchar_t *_ResultPath, _In_ size_t _SizeInWords)
_Check_return_opt_ _CRTIMP_ALTERNATIVE int __cdecl _swprintf_s_l(_Out_writes_z_(_DstSize) wchar_t *_DstBuf, _In_ size_t _DstSize, _In_z_ _Printf_format_string_params_(0) const wchar_t *_Format, _In_opt_ _locale_t _Locale,...)
_Check_return_opt_ _CRTIMP int __cdecl wprintf(_In_z_ _Printf_format_string_ const wchar_t *_Format,...)
#define __DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_4(_ReturnType, _ReturnPolicy, _DeclSpec, _FuncName, _SalAttributeDst, _DstType, _Dst, _TType1, _TArg1, _TType2, _TArg2, _TType3, _TArg3, _TType4, _TArg4)
Definition: crtdefs.h:873
_ino_t st_ino
Definition: stat.h:126
int tm_min
Definition: time.h:115
_CRTIMP intptr_t __cdecl _wexecvpe(_In_z_ const wchar_t *_Filename, _In_z_ const wchar_t *const *_ArgList, _In_opt_z_ const wchar_t *const *_Env)
_CRTIMP_ALTERNATIVE int __cdecl vswprintf_s(_Out_writes_z_(_SizeInWords) wchar_t *_Dst, _In_ size_t _SizeInWords, _In_z_ _Printf_format_string_ const wchar_t *_Format, va_list _ArgList)
_CRTIMP errno_t __cdecl _wmktemp_s(_Inout_updates_z_(_SizeInWords) wchar_t *_TemplateName, _In_ size_t _SizeInWords)
__int64 size
Definition: io.h:115
_Check_return_wat_ _CRTIMP errno_t __cdecl _wputenv_s(_In_z_ const wchar_t *_Name, _In_z_ const wchar_t *_Value)
int _cnt
Definition: mbstring.h:35
_Check_return_ _CRTIMP long __cdecl _wtol(_In_z_ const wchar_t *_Str)
_CRTIMP _In_ int _Value
Definition: setjmp.h:190
_Check_return_ _CRTIMP int __cdecl wcscmp(_In_z_ const wchar_t *_Str1, _In_z_ const wchar_t *_Str2)
#define __DEFINE_CPP_OVERLOAD_STANDARD_FUNC_1_1(_ReturnType, _ReturnPolicy, _DeclSpec, _FuncName, _HType1, _HArg1, _SalAttributeDst, _DstType, _Dst, _TType1, _TArg1)
Definition: crtdefs.h:876
_dev_t st_dev
Definition: stat.h:153
_CRTIMP errno_t __cdecl memcpy_s(_Out_writes_bytes_to_opt_(_DstSize, _MaxCount) void *_Dst, _In_ rsize_t _DstSize, _In_reads_bytes_opt_(_MaxCount) const void *_Src, _In_ rsize_t _MaxCount)
_Check_return_ _CRTIMP int __cdecl _wfindnext64i32(_In_ intptr_t _FindHandle, _Out_ struct _wfinddata64i32_t *_FindData)
_CRTIMP const unsigned short * _pctype
#define iswupper(_c)
Definition: wchar.h:432
_Check_return_wat_ _CRTIMP errno_t __cdecl _wsopen_s(_Out_ int *_FileHandle, _In_z_ const wchar_t *_Filename, _In_ int _OpenFlag, _In_ int _ShareFlag, _In_ int _PermissionFlag)
__int64 st_size
Definition: stat.h:160
#define _Out_opt_
Definition: sal.h:352
#define __DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_0(_ReturnType, _ReturnPolicy, _DeclSpec, _FuncName, _SalAttributeDst, _DstType, _Dst)
Definition: crtdefs.h:861
#define _iswcntrl_l(_c, _p)
Definition: wchar.h:456
_In_z_ const wchar_t * _Str2
Definition: wchar.h:1068
_Check_return_opt_ _CRTIMP int __cdecl _vwprintf_s_l(_In_z_ _Printf_format_string_params_(2) const wchar_t *_Format, _In_opt_ _locale_t _Locale, va_list _ArgList)
__time64_t time_t
Definition: crtdefs.h:580
#define stdout
Definition: wchar.h:87
_Check_return_ _CRTIMP _CONST_RETURN wchar_t *__cdecl wcsrchr(_In_z_ const wchar_t *_Str, _In_ wchar_t _Ch)
errno_t __CRTDECL wmemcpy_s(_Out_writes_to_opt_(_N1, _N) wchar_t *_S1, _In_ rsize_t _N1, _In_reads_opt_(_N) const wchar_t *_S2, rsize_t _N)
#define _iswblank_l(_c, _p)
Definition: wchar.h:452
__time64_t time_create
Definition: io.h:121
time_t st_ctime
Definition: stat.h:119
_Check_return_ _CRTIMP int __cdecl _vscwprintf(_In_z_ _Printf_format_string_ const wchar_t *_Format, va_list _ArgList)
_CRTIMP errno_t __cdecl wcsrtombs_s(_Out_opt_ size_t *_Retval, _Out_writes_bytes_to_opt_(_SizeInBytes,*_Retval) char *_Dst, _In_ size_t _SizeInBytes, _Inout_ _Deref_prepost_z_ const wchar_t **_Src, _In_ size_t _Size, _Out_opt_ mbstate_t *_State)
_Check_return_opt_ _CRTIMP int __cdecl _cwprintf_s(_In_z_ _Printf_format_string_ const wchar_t *_Format,...)
_Check_return_ _CRTIMP long double __cdecl _wcstold_l(_In_z_ const wchar_t *_Str, _Out_opt_ _Deref_post_z_ wchar_t **_EndPtr, _In_opt_ _locale_t _Locale)
long _off_t
Definition: wchar.h:491
_Check_return_opt_ _CRTIMP_ALTERNATIVE int __cdecl _swscanf_s_l(_In_z_ const wchar_t *_Src, _In_z_ _Scanf_s_format_string_params_(0) const wchar_t *_Format, _In_opt_ _locale_t _Locale,...)
_fsize_t size
Definition: io.h:124
__time32_t st_ctime
Definition: stat.h:135
_Check_return_ _CRTIMP int __cdecl _waccess(_In_z_ const wchar_t *_Filename, _In_ int _AccessMode)
_Check_return_opt_ wint_t __cdecl _putwch_nolock(wchar_t _WCh)
unsigned attrib
Definition: io.h:111
#define _CRTIMP
Definition: crtdefs.h:23
_Iter_
Definition: wchar.h:1247
_CRTIMP errno_t __cdecl _wstrtime_s(_Out_writes_(_SizeInWords) _Post_readable_size_(9) wchar_t *_Buf, _In_ size_t _SizeInWords)
_Check_return_ _CRTIMP size_t __cdecl wcslen(_In_z_ const wchar_t *_Str)
_Check_return_opt_ _CRTIMP int __cdecl wprintf_s(_In_z_ _Printf_format_string_ const wchar_t *_Format,...)
_Check_return_ _CRTIMP int __cdecl iswctype(_In_ wint_t _C, _In_ wctype_t _Type)
_In_z_ const wchar_t * _Control
Definition: wchar.h:1043
#define __DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_1_ARGLIST_EX(_ReturnType, _ReturnPolicy, _DeclSpec, _FuncName, _SecureFuncName, _VFuncName, _SecureVFuncName, _SalAttributeDst, _DstType, _Dst, _TType1, _TArg1)
Definition: crtdefs.h:1956
_CRTIMP intptr_t __cdecl _wexecl(_In_z_ const wchar_t *_Filename, _In_z_ const wchar_t *_ArgList,...)
__inline int __CRTDECL fwide(_In_opt_ FILE *_F, int _M)
Definition: wchar.h:1253
__time32_t st_atime
Definition: stat.h:101
Definition: regex:1520
_CRTIMP errno_t __cdecl _wasctime_s(_Out_writes_(_SizeInWords) _Post_readable_size_(26) wchar_t *_Buf, _In_ size_t _SizeInWords, _In_ const struct tm *_Tm)
#define __DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_1_EX(_ReturnType, _ReturnPolicy, _DeclSpec, _FuncName, _SecureFuncName, _SecureDstType, _SalAttributeDst, _DstType, _Dst, _TType1, _TArg1)
Definition: crtdefs.h:1938
Definition: io.h:110
#define _iswprint_l(_c, _p)
Definition: wchar.h:454
#define _Out_writes_z_(size)
Definition: sal.h:358
#define _Ret_maybenull_
Definition: sal.h:535
_Check_return_ _CRTIMP int __cdecl _wcsnicoll(_In_z_ const wchar_t *_Str1, _In_z_ const wchar_t *_Str2, _In_ size_t _MaxCount)
_Check_return_ _Ret_maybenull_z_ _CRTIMP wchar_t *__cdecl _wgetdcwd(_In_ int _Drive, _Out_writes_opt_(_SizeInWords) wchar_t *_DstBuf, _In_ int _SizeInWords)
_CRTIMP _In_reads_bytes_opt_(_Size) const void *_Src
_CRTIMP intptr_t __cdecl _wexeclpe(_In_z_ const wchar_t *_Filename, _In_z_ const wchar_t *_ArgList,...)
#define _Outptr_result_z_
Definition: sal.h:440
#define iswblank(_c)
Definition: wchar.h:438
int tm_mday
Definition: time.h:117
_Check_return_ _CRTIMP long long __cdecl _wtoll(_In_z_ const wchar_t *_Str)
_Check_return_wat_ _CRTIMP_ALTERNATIVE errno_t __cdecl wcscat_s(_Inout_updates_z_(_DstSize) wchar_t *_Dst, _In_ rsize_t _DstSize, const wchar_t *_Src)
__time32_t time_create
Definition: io.h:103
#define __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_0(_ReturnType, _FuncName, _DstType, _Dst)
Definition: crtdefs.h:845
wchar_t _Wint_t
Definition: wchar.h:1220
#define _Out_writes_all_(size)
Definition: sal.h:363
_Check_return_opt_ _CRTIMP int __cdecl _wprintf_l(_In_z_ _Printf_format_string_params_(0) const wchar_t *_Format, _In_opt_ _locale_t _Locale,...)
#define _Out_writes_opt_z_(size)
Definition: sal.h:359
_Check_return_opt_ _CRTIMP int __cdecl _swprintf_c_l(_Out_writes_z_(_MaxCount) wchar_t *_DstBuf, _In_ size_t _MaxCount, _In_z_ _Printf_format_string_params_(0) const wchar_t *_Format, _In_opt_ _locale_t _Locale,...)
_CRTIMP _Pre_notnull_ _Post_z_ wchar_t * _DstBuf
Definition: wchar.h:955
_dev_t st_dev
Definition: stat.h:125
#define __DEFINE_CPP_OVERLOAD_SECURE_FUNC_1_2(_ReturnType, _FuncName, _HType1, _HArg1, _DstType, _Dst, _TType1, _TArg1, _TType2, _TArg2)
Definition: crtdefs.h:851
_Check_return_opt_ _CRTIMP int __cdecl fputws(_In_z_ const wchar_t *_Str, _Inout_ FILE *_File)
_dev_t st_rdev
Definition: stat.h:145
short st_uid
Definition: stat.h:143
unsigned short wctype_t
Definition: crtdefs.h:542
_Check_return_opt_ _CRTIMP int __cdecl vwscanf(_In_z_ _Printf_format_string_ const wchar_t *_Format, va_list _ArgList)
unsigned short st_mode
Definition: stat.h:155
unsigned short st_mode
Definition: stat.h:127
_Check_return_opt_ _CRTIMP int __cdecl vfwprintf(_Inout_ FILE *_File, _In_z_ _Printf_format_string_ const wchar_t *_Format, va_list _ArgList)
_Check_return_ _CRTIMP unsigned long long __cdecl wcstoull(_In_z_ const wchar_t *_Str, _Out_opt_ _Deref_post_z_ wchar_t **_EndPtr, int _Radix)
char * _ptr
Definition: mbstring.h:34
__time64_t st_atime
Definition: stat.h:161
_Check_return_opt_ _CRTIMP int __cdecl fwprintf_s(_Inout_ FILE *_File, _In_z_ _Printf_format_string_ const wchar_t *_Format,...)
_In_opt_z_ const char * _FilePrefix
Definition: stdio.h:709
_N
Definition: wchar.h:1269
_Check_return_ _CRTIMP wchar_t *__cdecl _wtempnam(_In_opt_z_ const wchar_t *_Directory, _In_opt_z_ const wchar_t *_FilePrefix)
__time32_t st_ctime
Definition: stat.h:103
_Check_return_ _CRTIMP long __cdecl wcstol(_In_z_ const wchar_t *_Str, _Out_opt_ _Deref_post_z_ wchar_t **_EndPtr, int _Radix)
#define putwchar(_c)
Definition: wchar.h:872
#define _iswupper_l(_c, _p)
Definition: wchar.h:446
_Check_return_ _CRTIMP int __cdecl _wfindnext32i64(_In_ intptr_t _FindHandle, _Out_ struct _wfinddata32i64_t *_FindData)
_Check_return_ _CRTIMP long __cdecl _wtol_l(_In_z_ const wchar_t *_Str, _In_opt_ _locale_t _Locale)
int tm_year
Definition: time.h:119
_CRTIMP intptr_t __cdecl _wexeclp(_In_z_ const wchar_t *_Filename, _In_z_ const wchar_t *_ArgList,...)
char * _tmpfname
Definition: mbstring.h:41
__int64 size
Definition: io.h:133
_Check_return_opt_ _CRTIMP wint_t __cdecl _ungetwc_nolock(_In_ wint_t _Ch, _Inout_ FILE *_File)
#define _SWPRINTFS_DEPRECATED
Definition: wchar.h:776
_Check_return_opt_ _CRTIMP int __cdecl vwprintf_s(_In_z_ _Printf_format_string_ const wchar_t *_Format, va_list _ArgList)
#define __DEFINE_CPP_OVERLOAD_SECURE_FUNC_1_1(_ReturnType, _FuncName, _HType1, _HArg1, _DstType, _Dst, _TType1, _TArg1)
Definition: crtdefs.h:850
_Check_return_ _In_z_ _Scanf_format_string_ const wchar_t _Check_return_opt_ _In_z_ _Scanf_format_string_params_(0) const wchar_t *_Format
typedef void(__cdecl *_se_translator_function)(unsigned int
_In_reads_bytes_(_Size) const void *_Src
#define _Scanf_s_format_string_
Definition: sal.h:569
unsigned short wint_t
Definition: crtdefs.h:541
_CRTIMP int __cdecl _wstat64i32(_In_z_ const wchar_t *_Name, _Out_ struct _stat64i32 *_Stat)
_In_ wchar_t _Val
Definition: wchar.h:1157
_Check_return_opt_ _CRTIMP int __cdecl _vcwprintf_p(_In_z_ _Printf_format_string_ const wchar_t *_Format, va_list _ArgList)
__time32_t st_mtime
Definition: stat.h:134
#define _iswalpha_l(_c, _p)
Definition: wchar.h:445
unsigned int dev_t
Definition: wchar.h:485
_CRTIMP size_t __cdecl wcsftime(_Out_writes_z_(_SizeInWords) wchar_t *_Buf, _In_ size_t _SizeInWords, _In_z_ _Printf_format_string_ const wchar_t *_Format, _In_ const struct tm *_Tm)
#define _iswdigit_l(_c, _p)
Definition: wchar.h:448
_CRTIMP int __cdecl _vcwprintf_l(_In_z_ _Printf_format_string_params_(2) const wchar_t *_Format, _In_opt_ _locale_t _Locale, va_list _ArgList)
_Check_return_ _CRTIMP int __cdecl _wputenv(_In_z_ const wchar_t *_EnvString)
_CRTIMP size_t __cdecl mbrlen(_In_reads_bytes_opt_(_SizeInBytes) _Pre_opt_z_ const char *_Ch, _In_ size_t _SizeInBytes, _Out_opt_ mbstate_t *_State)
short st_gid
Definition: stat.h:98
_CRTIMP errno_t __cdecl _wctime32_s(_Out_writes_(_SizeInWords) _Post_readable_size_(26) wchar_t *_Buf, _In_ size_t _SizeInWords, _In_ const __time32_t *_Time)
_Check_return_ _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)
_Check_return_opt_ _In_ size_t _In_z_ _In_opt_ _locale_t va_list _ArgList
Definition: wchar.h:771
#define _Outptr_result_buffer_maybenull_(size)
Definition: sal.h:470
_Check_return_ _Ret_maybenull_ _In_z_ const wchar_t * _SubStr
Definition: string.h:329
_Check_return_wat_ _CRTIMP errno_t __cdecl _itow_s(_In_ int _Val, _Out_writes_z_(_SizeInWords) wchar_t *_DstBuf, _In_ size_t _SizeInWords, _In_ int _Radix)
_Check_return_ wint_t __cdecl _getwch_nolock(void)
#define _Outptr_result_maybenull_
Definition: sal.h:434
_Check_return_opt_ _CRTIMP int __cdecl _vwprintf_l(_In_z_ _Printf_format_string_params_(2) const wchar_t *_Format, _In_opt_ _locale_t _Locale, va_list _ArgList)
_Check_return_ _CRTIMP double __cdecl wcstod(_In_z_ const wchar_t *_Str, _Out_opt_ _Deref_post_z_ wchar_t **_EndPtr)
_ino_t st_ino
Definition: stat.h:110
_dev_t st_rdev
Definition: stat.h:131
#define _CRTIMP_ALTERNATIVE
Definition: crtdefs.h:159
#define __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_4(_ReturnType, _FuncName, _DstType, _Dst, _TType1, _TArg1, _TType2, _TArg2, _TType3, _TArg3, _TType4, _TArg4)
Definition: crtdefs.h:849
#define _Out_writes_opt_(size)
Definition: sal.h:355
static _Check_return_ __inline _In_ size_t _MaxCount return(_Src==NULL)?0 _Check_return_wat_ _CRTIMP_ALTERNATIVE errno_t __cdecl wcsncat_s(_Inout_updates_z_(_DstSize) wchar_t *_Dst, _In_ rsize_t _DstSize, _In_z_ const wchar_t *_Src, _In_ rsize_t _MaxCount)
_Check_return_opt_ _CRTIMP_ALTERNATIVE int __cdecl _vswprintf_s_l(_Out_writes_z_(_DstSize) wchar_t *_DstBuf, _In_ size_t _DstSize, _In_z_ _Printf_format_string_params_(2) const wchar_t *_Format, _In_opt_ _locale_t _Locale, va_list _ArgList)
short st_uid
Definition: stat.h:113
#define iswalnum(_c)
Definition: wchar.h:439
_Check_return_ _CRTIMP unsigned long __cdecl wcstoul(_In_z_ const wchar_t *_Str, _Out_opt_ _Deref_post_z_ wchar_t **_EndPtr, int _Radix)
_Check_return_ _CRTIMP int __cdecl _vscwprintf_p(_In_z_ _Printf_format_string_ const wchar_t *_Format, va_list _ArgList)
int mbstate_t
Definition: wchar.h:1219
_In_ size_t _In_z_ const char * _Source
Definition: tchar.h:2379
_Check_return_ _CRTIMP intptr_t __cdecl _wfindfirst64i32(_In_z_ const wchar_t *_Filename, _Out_ struct _wfinddata64i32_t *_FindData)
Definition: io.h:101
_Check_return_opt_ _CRTIMP wint_t __cdecl ungetwc(_In_ wint_t _Ch, _Inout_ FILE *_File)
_Pre_maybenull_ _Post_z_ wchar_t _Pre_maybenull_ _Post_z_ wchar_t _Pre_maybenull_ _Post_z_ wchar_t _Pre_maybenull_ _Post_z_ wchar_t * _Ext
Definition: wchar.h:1001
_Check_return_opt_ _CRTIMP int __cdecl _vfwprintf_p_l(_Inout_ FILE *_File, _In_z_ _Printf_format_string_params_(2) const wchar_t *_Format, _In_opt_ _locale_t _Locale, va_list _ArgList)
_dev_t st_rdev
Definition: stat.h:159
#define __DEFINE_CPP_OVERLOAD_STANDARD_NFUNC_0_3_SIZE(_DeclSpec, _FuncName, _SalAttributeDst, _DstType, _Dst, _TType1, _TArg1, _TType2, _TArg2, _TType3, _TArg3)
Definition: crtdefs.h:922
_Check_return_opt_ _CRTIMP wint_t __cdecl _fgetwchar(void)
_Check_return_ _In_z_ const wchar_t * _Mode
Definition: wchar.h:841
_Check_return_wat_ _CRTIMP_ALTERNATIVE errno_t __cdecl _wcsnset_s(_Inout_updates_z_(_DstSizeInWords) wchar_t *_Dst, _In_ size_t _DstSizeInWords, wchar_t _Val, _In_ size_t _MaxCount)
_Check_return_ _CRTIMP int __cdecl _scwprintf_p(_In_z_ _Printf_format_string_ const wchar_t *_Format,...)
_CRTIMP int __cdecl _wstat64(_In_z_ const wchar_t *_Name, _Out_ struct _stat64 *_Stat)
short st_gid
Definition: stat.h:130
_CRTIMP errno_t __cdecl memmove_s(_Out_writes_bytes_to_opt_(_DstSize, _MaxCount) void *_Dst, _In_ rsize_t _DstSize, _In_reads_bytes_opt_(_MaxCount) const void *_Src, _In_ rsize_t _MaxCount)
_Check_return_ _CRTIMP __int64 __cdecl _wtoi64(_In_z_ const wchar_t *_Str)
#define _Out_writes_bytes_all_(size)
Definition: sal.h:368
#define _Deref_prepost_opt_valid_
Definition: sal.h:1468
_Check_return_opt_ _CRTIMP int __cdecl _vwprintf_p_l(_In_z_ _Printf_format_string_params_(2) const wchar_t *_Format, _In_opt_ _locale_t _Locale, va_list _ArgList)
short st_uid
Definition: stat.h:129
#define __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_1_ARGLIST(_ReturnType, _FuncName, _VFuncName, _DstType, _Dst, _TType1, _TArg1)
Definition: crtdefs.h:854
_Check_return_opt_ _CRTIMP_ALTERNATIVE int __cdecl _snwprintf_s(_Out_writes_z_(_DstSizeInWords) wchar_t *_DstBuf, _In_ size_t _DstSizeInWords, _In_ size_t _MaxCount, _In_z_ _Printf_format_string_ const wchar_t *_Format,...)
_Check_return_ _CRTIMP int __cdecl _wtoi_l(_In_z_ const wchar_t *_Str, _In_opt_ _locale_t _Locale)
#define iswdigit(_c)
Definition: wchar.h:434
#define iswcntrl(_c)
Definition: wchar.h:442
#define iswalpha(_c)
Definition: wchar.h:431
#define getwc(_stm)
Definition: wchar.h:880
_Check_return_opt_ _CRTIMP int __cdecl _fwprintf_p_l(_Inout_ FILE *_File, _In_z_ _Printf_format_string_params_(0) const wchar_t *_Format, _In_opt_ _locale_t _Locale,...)
_CRTIMP intptr_t __cdecl _wexecv(_In_z_ const wchar_t *_Filename, _In_z_ const wchar_t *const *_ArgList)
_Check_return_wat_ _CRTIMP errno_t __cdecl _wcserror_s(_Out_writes_opt_z_(_SizeInWords) wchar_t *_Buf, _In_ size_t _SizeInWords, _In_ int _ErrNum)
_W64 long __time32_t
Definition: crtdefs.h:567
_Check_return_ _CRTIMP int __cdecl _iswcsym_l(_In_ wint_t _C, _In_opt_ _locale_t _Locale)
_Check_return_opt_ _CRTIMP size_t __cdecl wcsxfrm(_Out_writes_opt_(_MaxCount) _Post_maybez_ wchar_t *_Dst, _In_z_ const wchar_t *_Src, _In_ size_t _MaxCount)
errno_t __CRTDECL wmemmove_s(_Out_writes_to_opt_(_N1, _N) wchar_t *_S1, _In_ rsize_t _N1, _In_reads_opt_(_N) const wchar_t *_S2, _In_ rsize_t _N)
_CRTIMP int __cdecl _wsystem(_In_opt_z_ const wchar_t *_Command)
#define _Pre_maybenull_
Definition: sal.h:687
_Check_return_wat_ _CRTIMP errno_t __cdecl __wcserror_s(_Out_writes_opt_z_(_SizeInWords) wchar_t *_Buffer, _In_ size_t _SizeInWords, _In_z_ const wchar_t *_ErrMsg)
_CRTIMP intptr_t __cdecl _wspawnl(_In_ int _Mode, _In_z_ const wchar_t *_Filename, _In_z_ const wchar_t *_ArgList,...)
#define _In_opt_z_
Definition: sal.h:320
_CRTIMP_ALTERNATIVE int __cdecl swprintf_s(_Out_writes_z_(_SizeInWords) wchar_t *_Dst, _In_ size_t _SizeInWords, _In_z_ _Printf_format_string_ const wchar_t *_Format,...)
_Check_return_ _CRTIMP wint_t __cdecl _putwch(wchar_t _WCh)
_Check_return_opt_ _CRTIMP int __cdecl _cwprintf_p(_In_z_ _Printf_format_string_ const wchar_t *_Format,...)
_Check_return_ _CRTIMP unsigned long long __cdecl _wcstoull_l(_In_z_ const wchar_t *_Str, _Out_opt_ _Deref_post_z_ wchar_t **_EndPtr, int _Radix, _In_opt_ _locale_t _Locale)
_fsize_t size
Definition: io.h:106
#define _Check_return_
Definition: sal.h:563
short st_gid
Definition: stat.h:114
__time64_t st_atime
Definition: stat.h:147
_Check_return_opt_ _CRTIMP wchar_t *__cdecl _getws_s(_Out_writes_z_(_SizeInWords) wchar_t *_Str, _In_ size_t _SizeInWords)
_Check_return_opt_ _CRTIMP wchar_t *__cdecl _wsetlocale(_In_ int _Category, _In_opt_z_ const wchar_t *_Locale)
_Check_return_ _CRTIMP int __cdecl _iswcsymf_l(_In_ wint_t _C, _In_opt_ _locale_t _Locale)
_Check_return_ _Ret_maybenull_z_ _CRTIMP wchar_t *__cdecl _wgetcwd(_Out_writes_opt_(_SizeInWords) wchar_t *_DstBuf, _In_ int _SizeInWords)
#define _Pre_opt_z_
Definition: sal.h:1280
_Check_return_opt_ _Check_return_opt_ _In_opt_ _locale_t _Check_return_opt_ _CRTIMP int __cdecl _cwscanf_s(_In_z_ _Scanf_s_format_string_ const wchar_t *_Format,...)
_Check_return_ _CRTIMP int __cdecl _wcsicmp_l(_In_z_ const wchar_t *_Str1, _In_z_ const wchar_t *_Str2, _In_opt_ _locale_t _Locale)
_dev_t st_dev
Definition: stat.h:109
_Check_return_opt_ _CRTIMP int __cdecl _swprintf_p_l(_Out_writes_z_(_MaxCount) wchar_t *_DstBuf, _In_ size_t _MaxCount, _In_z_ _Printf_format_string_params_(0) const wchar_t *_Format, _In_opt_ _locale_t _Locale,...)
_In_ size_t _In_z_ const unsigned char * _Src
Definition: mbstring.h:95
#define _In_z_
Definition: sal.h:319
_Check_return_ _In_ int _OpenFlag
Definition: wchar.h:362
_Check_return_ _CRTIMP int __cdecl _scwprintf_p_l(_In_z_ _Printf_format_string_params_(0) const wchar_t *_Format, _In_opt_ _locale_t _Locale,...)
#define _In_
Definition: sal.h:314
int tm_mon
Definition: time.h:118
_CRTIMP intptr_t __cdecl _wspawnlp(_In_ int _Mode, _In_z_ const wchar_t *_Filename, _In_z_ const wchar_t *_ArgList,...)
_Check_return_ _CRTIMP int __cdecl _wcsncoll_l(_In_z_ const wchar_t *_Str1, _In_z_ const wchar_t *_Str2, _In_ size_t _MaxCount, _In_opt_ _locale_t _Locale)
#define _Inout_opt_
Definition: sal.h:385
_Check_return_opt_ _CRTIMP int __cdecl _swprintf_p(_Out_writes_z_(_MaxCount) wchar_t *_DstBuf, _In_ size_t _MaxCount, _In_z_ _Printf_format_string_ const wchar_t *_Format,...)
_In_z_ const char *const _In_opt_z_ const char *const * _Env
Definition: process.h:208
_Check_return_ _CRTIMP wint_t __cdecl _towupper_l(_In_ wint_t _C, _In_opt_ _locale_t _Locale)
_Check_return_ _CRTIMP long double __cdecl wcstold(_In_z_ const wchar_t *_Str, _Out_opt_ _Deref_post_z_ wchar_t **_EndPtr)
short st_nlink
Definition: stat.h:142
_Check_return_opt_ _In_ size_t _In_z_ _In_opt_ _locale_t _Check_return_opt_ _CRTIMP_ALTERNATIVE int __cdecl _snwprintf_s_l(_Out_writes_z_(_DstSize) wchar_t *_DstBuf, _In_ size_t _DstSize, _In_ size_t _MaxCount, _In_z_ _Printf_format_string_params_(0) const wchar_t *_Format, _In_opt_ _locale_t _Locale,...)
_Check_return_wat_ _CRTIMP errno_t __cdecl _wfreopen_s(_Outptr_result_maybenull_ FILE **_File, _In_z_ const wchar_t *_Filename, _In_z_ const wchar_t *_Mode, _Inout_ FILE *_OldFile)
_Check_return_ _CRTIMP wint_t __cdecl towlower(_In_ wint_t _C)
_Check_return_opt_ _CRTIMP int __cdecl vwprintf(_In_z_ _Printf_format_string_ const wchar_t *_Format, va_list _ArgList)
_Check_return_ _CRTIMP int __cdecl _wcsicmp(_In_z_ const wchar_t *_Str1, _In_z_ const wchar_t *_Str2)
#define __DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_0_CGETS(_ReturnType, _DeclSpec, _FuncName, _SalAttributeDst, _DstType, _Dst)
Definition: crtdefs.h:1935
_Check_return_ _CRTIMP int __cdecl _iswctype_l(_In_ wint_t _C, _In_ wctype_t _Type, _In_opt_ _locale_t _Locale)
_Check_return_ _In_z_ const wchar_t * _Delim
Definition: wchar.h:1078
_CRTIMP int __cdecl _wunlink(_In_z_ const wchar_t *_Filename)
#define _In_opt_
Definition: sal.h:315
__time64_t time_access
Definition: io.h:131
Definition: io.h:119
_CRTIMP void __cdecl _wperror(_In_opt_z_ const wchar_t *_ErrMsg)
_CRTIMP intptr_t __cdecl _wexecve(_In_z_ const wchar_t *_Filename, _In_z_ const wchar_t *const *_ArgList, _In_opt_z_ const wchar_t *const *_Env)
_Check_return_ _CRTIMP FILE *__cdecl _wfdopen(_In_ int _FileHandle, _In_z_ const wchar_t *_Mode)
_Check_return_wat_ _CRTIMP errno_t __cdecl _wcslwr_s(_Inout_updates_z_(_SizeInWords) wchar_t *_Str, _In_ size_t _SizeInWords)
__time64_t time_write
Definition: io.h:123
_off_t st_size
Definition: stat.h:100
#define _Inout_opt_z_
Definition: sal.h:390
_Pre_maybenull_ _Post_z_ wchar_t * _Drive
Definition: wchar.h:1001
Definition: stat.h:152
_Pre_maybenull_ _Post_z_ wchar_t _Pre_maybenull_ _Post_z_ wchar_t _Pre_maybenull_ _Post_z_ wchar_t * _Filename
Definition: wchar.h:1001
_Check_return_opt_ _CRTIMP int __cdecl _fwprintf_p(_Inout_ FILE *_File, _In_z_ _Printf_format_string_ const wchar_t *_Format,...)
_Check_return_wat_ _CRTIMP errno_t __cdecl _wdupenv_s(_Outptr_result_buffer_maybenull_(*_BufferSizeInWords) _Outptr_result_z_ wchar_t **_Buffer, _Out_opt_ size_t *_BufferSizeInWords, _In_z_ const wchar_t *_VarName)
_CRTIMP errno_t __cdecl wcrtomb_s(_Out_opt_ size_t *_Retval, _Out_writes_opt_z_(_SizeInBytes) char *_Dst, _In_ size_t _SizeInBytes, _In_ wchar_t _Ch, _Out_opt_ mbstate_t *_State)
_Check_return_ _CRTIMP FILE *__cdecl _wfsopen(_In_z_ const wchar_t *_Filename, _In_z_ const wchar_t *_Mode, _In_ int _ShFlag)
#define __DEFINE_CPP_OVERLOAD_STANDARD_NFUNC_0_2_ARGLIST_EX(_ReturnType, _ReturnPolicy, _DeclSpec, _FuncName, _VFuncName, _SecureDstType, _SalAttributeDst, _DstType, _Dst, _TType1, _TArg1, _TType2, _TArg2)
Definition: crtdefs.h:2002
_Check_return_ _CRTIMP unsigned long __cdecl _wcstoul_l(_In_z_ const wchar_t *_Str, _Out_opt_ _Deref_post_z_ wchar_t **_EndPtr, int _Radix, _In_opt_ _locale_t _Locale)
_Check_return_ _CRTIMP _Post_satisfies_(return==_MaxCount)) size_t __cdecl wcsnlen(_In_z_ const wchar_t *_Src
_Check_return_opt_ _CRTIMP int __cdecl vfwscanf(_Inout_ FILE *_File, _In_z_ _Printf_format_string_ const wchar_t *_Format, va_list _ArgList)
#define iswxdigit(_c)
Definition: wchar.h:435
_CRTIMP int __cdecl wctob(_In_ wint_t _WCh)
_CRTIMP int __cdecl _vcwprintf_s_l(_In_z_ _Printf_format_string_params_(2) const wchar_t *_Format, _In_opt_ _locale_t _Locale, va_list _ArgList)
_CRTIMP int __cdecl _wstat32i64(_In_z_ const wchar_t *_Name, _Out_ struct _stat32i64 *_Stat)
__time64_t st_ctime
Definition: stat.h:163
_CRTIMP int __cdecl _wstat32(_In_z_ const wchar_t *_Name, _Out_ struct _stat32 *_Stat)
unsigned attrib
Definition: io.h:120
_Check_return_ _CRTIMP unsigned __int64 __cdecl _wcstoui64(_In_z_ const wchar_t *_Str, _Out_opt_ _Deref_post_z_ wchar_t **_EndPtr, _In_ int _Radix)
#define _Inout_z_
Definition: sal.h:389
#define __RETURN_POLICY_SAME(_FunctionCall)
Definition: crtdefs.h:1927
_Check_return_ _CRTIMP int __cdecl _wrmdir(_In_z_ const wchar_t *_Path)
_CRTIMP intptr_t __cdecl _wexecle(_In_z_ const wchar_t *_Filename, _In_z_ const wchar_t *_ArgList,...)
_CRTIMP _CRT_INSECURE_DEPRECATE_MEMORY(memmove_s) void *__cdecl memmove(_Out_writes_bytes_all_opt_(_Size) void *_Dst
#define _Out_writes_bytes_all_opt_(size)
Definition: sal.h:369
unsigned attrib
Definition: io.h:102
#define _Deref_prepost_opt_z_
Definition: sal.h:1430
_Check_return_opt_ _CRTIMP int __cdecl fwprintf(_Inout_ FILE *_File, _In_z_ _Printf_format_string_ const wchar_t *_Format,...)
#define _Out_writes_all_opt_(size)
Definition: sal.h:364
_In_reads_(_N) const wchar_t *_S2
short st_gid
Definition: stat.h:158
_Check_return_wat_ _CRTIMP errno_t __cdecl _wgetenv_s(_Out_ size_t *_ReturnSize, _Out_writes_opt_z_(_DstSizeInWords) wchar_t *_DstBuf, _In_ size_t _DstSizeInWords, _In_z_ const wchar_t *_VarName)
_dev_t st_dev
Definition: stat.h:139
#define _Scanf_s_format_string_params_(x)
Definition: sal.h:574
#define __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_2(_ReturnType, _FuncName, _DstType, _Dst, _TType1, _TArg1, _TType2, _TArg2)
Definition: crtdefs.h:847
unsigned short _ino_t
Definition: wchar.h:473
_CRTIMP intptr_t __cdecl _wspawnv(_In_ int _Mode, _In_z_ const wchar_t *_Filename, _In_z_ const wchar_t *const *_ArgList)
_Check_return_ _Check_return_opt_ _In_opt_ _locale_t _Check_return_opt_ _CRTIMP_ALTERNATIVE int __cdecl wscanf_s(_In_z_ _Scanf_s_format_string_ const wchar_t *_Format,...)
_Check_return_opt_ _CRTIMP size_t __cdecl _wcsxfrm_l(_Out_writes_opt_(_MaxCount) _Post_maybez_ wchar_t *_Dst, _In_z_ const wchar_t *_Src, _In_ size_t _MaxCount, _In_opt_ _locale_t _Locale)
__int64 st_size
Definition: stat.h:132
_CRT_OBSOLETE(iswctype) _CRTIMP int __cdecl is_wctype(_In_ wint_t _C
Definition: mbstring.h:33
_Check_return_ _CRTIMP int __cdecl _wrename(_In_z_ const wchar_t *_OldFilename, _In_z_ const wchar_t *_NewFilename)
_In_ wchar_t _C
Definition: wchar.h:1295
_CRTIMP intptr_t __cdecl _wspawnle(_In_ int _Mode, _In_z_ const wchar_t *_Filename, _In_z_ const wchar_t *_ArgList,...)
_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_opt_ _CRTIMP wint_t __cdecl fgetwc(_Inout_ FILE *_File)
#define _Deref_prepost_z_
Definition: sal.h:1429
_Check_return_ _CRTIMP long long __cdecl _wcstoll_l(_In_z_ const wchar_t *_Str, _Out_opt_ _Deref_post_z_ wchar_t **_EndPtr, int _Radix, _In_opt_ _locale_t _Locale)
_Check_return_ _CRTIMP int __cdecl _wcscoll_l(_In_z_ const wchar_t *_Str1, _In_z_ const wchar_t *_Str2, _In_opt_ _locale_t _Locale)
_Check_return_ _CRTIMP intptr_t __cdecl _wfindfirst64(_In_z_ const wchar_t *_Filename, _Out_ struct _wfinddata64_t *_FindData)
_Check_return_opt_ _CRTIMP int __cdecl _vfwprintf_p(_Inout_ FILE *_File, _In_z_ _Printf_format_string_ const wchar_t *_Format, va_list _ArgList)
#define __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_1(_ReturnType, _FuncName, _DstType, _Dst, _TType1, _TArg1)
Definition: crtdefs.h:846
_Check_return_ _CRTIMP int __cdecl _wcsncoll(_In_z_ const wchar_t *_Str1, _In_z_ const wchar_t *_Str2, _In_ size_t _MaxCount)
_Check_return_opt_ _CRTIMP int __cdecl _putws(_In_z_ const wchar_t *_Str)
_Check_return_opt_ _CRTIMP int __cdecl _vwprintf_p(_In_z_ _Printf_format_string_ const wchar_t *_Format, va_list _ArgList)
_Check_return_ _In_z_ _Scanf_format_string_ const wchar_t * _Format
Definition: wchar.h:817
#define _Ret_maybenull_z_
Definition: sal.h:531
_Check_return_wat_ _CRTIMP_ALTERNATIVE errno_t __cdecl wcscpy_s(_Out_writes_z_(_DstSize) wchar_t *_Dst, _In_ rsize_t _DstSize, _In_z_ const wchar_t *_Src)
short st_nlink
Definition: stat.h:96
_Check_return_opt_ _CRTIMP wint_t __cdecl _fgetwc_nolock(_Inout_ FILE *_File)
_CRTIMP size_t __cdecl mbrtowc(_Pre_maybenull_ _Post_z_ wchar_t *_DstCh, _In_reads_bytes_opt_(_SizeInBytes) _Pre_opt_z_ const char *_SrcCh, _In_ size_t _SizeInBytes, _Out_opt_ mbstate_t *_State)
__time64_t st_mtime
Definition: stat.h:162
_Check_return_ _CRTIMP_ALTERNATIVE wchar_t *__cdecl wcstok_s(_Inout_opt_z_ wchar_t *_Str, _In_z_ const wchar_t *_Delim, _Inout_ _Deref_prepost_opt_z_ wchar_t **_Context)
_Check_return_ _In_z_ _Scanf_format_string_ const wchar_t _Check_return_opt_ _In_z_ _In_opt_ _locale_t _Check_return_opt_ _CRTIMP int __cdecl fwscanf_s(_Inout_ FILE *_File, _In_z_ _Scanf_s_format_string_ const wchar_t *_Format,...)
#define _Printf_format_string_
Definition: sal.h:567
__inline _CONST_RETURN wchar_t *__CRTDECL wmemchr(_In_reads_(_N) const wchar_t *_S, _In_ wchar_t _C, _In_ size_t _N)
Definition: wchar.h:1257
_FS_DLL file_type __CLRCALL_PURE_OR_CDECL _Stat(const char *, int &)
unsigned short st_mode
Definition: stat.h:95
#define __RETURN_POLICY_VOID(_FunctionCall)
Definition: crtdefs.h:1929
_CRTIMP intptr_t __cdecl _wspawnvpe(_In_ int _Mode, _In_z_ const wchar_t *_Filename, _In_z_ const wchar_t *const *_ArgList, _In_opt_z_ const wchar_t *const *_Env)
_Check_return_ _CRTIMP long long __cdecl wcstoll(_In_z_ const wchar_t *_Str, _Out_opt_ _Deref_post_z_ wchar_t **_EndPtr, int _Radix)
short st_uid
Definition: stat.h:97
_Check_return_opt_ _CRTIMP wint_t __cdecl _fputwc_nolock(_In_ wchar_t _Ch, _Inout_ FILE *_File)
_Check_return_ _CRTIMP int __cdecl _wmkdir(_In_z_ const wchar_t *_Path)
unsigned short st_mode
Definition: stat.h:111
_Check_return_ _CRTIMP int __cdecl __iswcsymf(_In_ wint_t _C)
_Check_return_ _CRTIMP int __cdecl _isleadbyte_l(_In_ int _C, _In_opt_ _locale_t _Locale)
int _charbuf
Definition: mbstring.h:39
Definition: stat.h:108
_Check_return_ _CRTIMP int __cdecl _wtoi(_In_z_ const wchar_t *_Str)
#define _Prepost_z_
Definition: sal.h:714
_Check_return_ _CRTIMP wint_t __cdecl _ungetwch(wint_t _WCh)
int errno_t
Definition: crtdefs.h:563
int _bufsiz
Definition: mbstring.h:40
_Check_return_opt_ _In_ size_t _MaxCount
Definition: wchar.h:769
int _flag
Definition: mbstring.h:37
#define stdin
Definition: wchar.h:86
Definition: time.h:113
_dev_t st_rdev
Definition: stat.h:115
_Check_return_ _In_z_ const char _Inout_ FILE * _File
Definition: stdio.h:226
wchar_t _Ch
Definition: wchar.h:1036
#define _iswpunct_l(_c, _p)
Definition: wchar.h:451
#define __CRTDECL
Definition: crtdefs.h:622
#define _iswlower_l(_c, _p)
Definition: wchar.h:447
#define iswpunct(_c)
Definition: wchar.h:437
int tm_wday
Definition: time.h:120
_Check_return_ _CRTIMP _When_(_MaxCount > _String_length_(_Src), _Post_satisfies_(return==_String_length_(_Src))) _When_(_MaxCount<
_Check_return_ _CRTIMP wint_t __cdecl _getwche(void)
#define __RETURN_POLICY_DST(_FunctionCall)
Definition: crtdefs.h:1928
size_t rsize_t
Definition: crtdefs.h:503
_CRTIMP int __cdecl _wremove(_In_z_ const wchar_t *_Filename)
_Check_return_opt_ _CRTIMP int __cdecl _cwscanf_s_l(_In_z_ _Scanf_s_format_string_params_(0) const wchar_t *_Format, _In_opt_ _locale_t _Locale,...)
__time32_t time_access
Definition: io.h:113
__time32_t st_mtime
Definition: stat.h:102
_Check_return_opt_ _CRTIMP_ALTERNATIVE int __cdecl _vsnwprintf_s_l(_Out_writes_z_(_DstSize) wchar_t *_DstBuf, _In_ size_t _DstSize, _In_ size_t _MaxCount, _In_z_ _Printf_format_string_params_(2) const wchar_t *_Format, _In_opt_ _locale_t _Locale, va_list _ArgList)
__time32_t time_access
Definition: io.h:104
_Check_return_opt_ _CRTIMP int __cdecl _wprintf_p(_In_z_ _Printf_format_string_ const wchar_t *_Format,...)
_Check_return_ _Ret_maybenull_ _CRTIMP _CONST_RETURN wchar_t *__cdecl wcsstr(_In_z_ const wchar_t *_Str, _In_z_ const wchar_t *_SubStr)
return(_S)
_Check_return_ _In_ int _Check_return_ _In_ int int _ShareFlag
Definition: wchar.h:363
unsigned short ino_t
Definition: wchar.h:476
int tm_yday
Definition: time.h:121
#define _Scanf_format_string_
Definition: sal.h:568
_CRTIMP intptr_t __cdecl _wspawnlpe(_In_ int _Mode, _In_z_ const wchar_t *_Filename, _In_z_ const wchar_t *_ArgList,...)
#define _iswspace_l(_c, _p)
Definition: wchar.h:450
__time64_t st_mtime
Definition: stat.h:148
#define _Out_writes_(size)
Definition: sal.h:354
_ino_t st_ino
Definition: stat.h:154
#define _At_buffer_(target, iter, bound, annos)
Definition: sal.h:256
__time64_t st_ctime
Definition: stat.h:149
_CRTIMP FILE *__cdecl __iob_func(void)
_Check_return_ wint_t __cdecl _getwche_nolock(void)
wchar_t name[260]
Definition: io.h:116
#define _Post_readable_size_(size)
Definition: sal.h:655
_ino_t st_ino
Definition: stat.h:94
_Check_return_wat_ _CRTIMP errno_t __cdecl _wfopen_s(_Outptr_result_maybenull_ FILE **_File, _In_z_ const wchar_t *_Filename, _In_z_ const wchar_t *_Mode)
_Check_return_ _CRTIMP long long __cdecl _wtoll_l(_In_z_ const wchar_t *_Str, _In_opt_ _locale_t _Locale)
_Check_return_ _CRTIMP long __cdecl _wcstol_l(_In_z_ const wchar_t *_Str, _Out_opt_ _Deref_post_z_ wchar_t **_EndPtr, int _Radix, _In_opt_ _locale_t _Locale)
#define _Check_return_wat_
Definition: crtdefs.h:2128
_Check_return_wat_ _CRTIMP errno_t __cdecl _ltow_s(_In_ long _Val, _Out_writes_z_(_SizeInWords) wchar_t *_DstBuf, _In_ size_t _SizeInWords, _In_ int _Radix)
_CRTIMP const unsigned short _wctype[]
_Check_return_opt_ _CRTIMP int __cdecl vwscanf_s(_In_z_ _Printf_format_string_ const wchar_t *_Format, va_list _ArgList)
Definition: stat.h:138
#define _Check_return_opt_
Definition: crtdefs.h:2122
_Check_return_wat_ _CRTIMP errno_t __cdecl _wcsupr_s_l(_Inout_updates_z_(_Size) wchar_t *_Str, _In_ size_t _Size, _In_opt_ _locale_t _Locale)
_CRTIMP _In_ wchar_t _WCh
Definition: stdlib.h:567
_Inout_updates_z_(_SizeInBytes) char *_Buf2
__time64_t time_write
Definition: io.h:132
short st_gid
Definition: stat.h:144
_Check_return_opt_ _CRTIMP int __cdecl _vfwprintf_s_l(_Inout_ FILE *_File, _In_z_ _Printf_format_string_params_(2) const wchar_t *_Format, _In_opt_ _locale_t _Locale, va_list _ArgList)
#define _Deref_post_z_
Definition: sal.h:1127
_In_ wctype_t _Type
Definition: wchar.h:298
_Check_return_ _CRTIMP wint_t __cdecl _towlower_l(_In_ wint_t _C, _In_opt_ _locale_t _Locale)
time_t st_atime
Definition: stat.h:117
_CRTIMP size_t __cdecl _wcsftime_l(_Out_writes_z_(_SizeInWords) wchar_t *_Buf, _In_ size_t _SizeInWords, _In_z_ _Printf_format_string_ const wchar_t *_Format, _In_ const struct tm *_Tm, _In_opt_ _locale_t _Locale)
short st_uid
Definition: stat.h:157
_CRTIMP wint_t __cdecl btowc(int)
_Check_return_opt_ _CRTIMP int __cdecl _swprintf_c(_Out_writes_z_(_SizeInWords) wchar_t *_DstBuf, _In_ size_t _SizeInWords, _In_z_ _Printf_format_string_ const wchar_t *_Format,...)
_Check_return_ _CRTIMP int __cdecl _scwprintf(_In_z_ _Printf_format_string_ const wchar_t *_Format,...)
unsigned short st_mode
Definition: stat.h:141
_Check_return_opt_ _CRTIMP wint_t __cdecl _fputwchar(_In_ wchar_t _Ch)
_Check_return_ _CRTIMP int __cdecl __iswcsym(_In_ wint_t _C)
_Check_return_ _CRTIMP int __cdecl _wcsicoll_l(_In_z_ const wchar_t *_Str1, _In_z_ const wchar_t *_Str2, _In_opt_ _locale_t _Locale)
_Check_return_opt_ _CRTIMP int __cdecl _vswprintf_p_l(_Out_writes_z_(_MaxCount) wchar_t *_DstBuf, _In_ size_t _MaxCount, _In_z_ _Printf_format_string_params_(2) const wchar_t *_Format, _In_opt_ _locale_t _Locale, va_list _ArgList)
#define __DEFINE_CPP_OVERLOAD_SECURE_FUNC_1_3(_ReturnType, _FuncName, _HType1, _HArg1, _DstType, _Dst, _TType1, _TArg1, _TType2, _TArg2, _TType3, _TArg3)
Definition: crtdefs.h:852
_Check_return_ _CRTIMP wint_t __cdecl _getwch(void)
_Check_return_ _CRTIMP int __cdecl _wcsnicoll_l(_In_z_ const wchar_t *_Str1, _In_z_ const wchar_t *_Str2, _In_ size_t _MaxCount, _In_opt_ _locale_t _Locale)
#define _CONST_RETURN
Definition: crtdefs.h:590
__DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_1(wchar_t *, __RETURN_POLICY_DST, _CRTIMP, wcscat, _Inout_updates_z_(_String_length_(_Dest)+_String_length_(_Source)+1), wchar_t, _Dest, _In_z_ const wchar_t *, _Source) _Check_return_ _CRTIMP _CONST_RETURN wchar_t *__cdecl wcschr(_In_z_ const wchar_t *_Str
wchar_t name[260]
Definition: io.h:134
_Check_return_opt_ _CRTIMP int __cdecl vswscanf(const wchar_t *_srcBuf, _In_z_ _Printf_format_string_ const wchar_t *_Format, va_list _ArgList)
_Check_return_opt_ _CRTIMP_ALTERNATIVE int __cdecl _vsnwprintf_s(_Out_writes_z_(_DstSizeInWords) wchar_t *_DstBuf, _In_ size_t _DstSizeInWords, _In_ size_t _MaxCount, _In_z_ _Printf_format_string_ const wchar_t *_Format, va_list _ArgList)
short st_nlink
Definition: stat.h:156
#define __DEFINE_CPP_OVERLOAD_SECURE_FUNC_2_0(_ReturnType, _FuncName, _HType1, _HArg1, _HType2, _HArg2, _DstType, _Dst)
Definition: crtdefs.h:853
unsigned long _fsize_t
Definition: wchar.h:93
_Check_return_ _CRTIMP int __cdecl _wcsnicmp(_In_z_ const wchar_t *_Str1, _In_z_ const wchar_t *_Str2, _In_ size_t _MaxCount)
Definition: io.h:128
short st_nlink
Definition: stat.h:128
_Check_return_opt_ _CRTIMP wchar_t *__cdecl fgetws(_Out_writes_z_(_SizeInWords) wchar_t *_Dst, _In_ int _SizeInWords, _Inout_ FILE *_File)
wchar_t name[260]
Definition: io.h:107
_CRTIMP int __cdecl _vcwprintf_p_l(_In_z_ _Printf_format_string_params_(2) const wchar_t *_Format, _In_opt_ _locale_t _Locale, va_list _ArgList)
_Check_return_ _CRTIMP int __cdecl _wchdir(_In_z_ const wchar_t *_Path)
_Check_return_opt_ _CRTIMP int __cdecl _vswprintf_p(_Out_writes_z_(_MaxCount) wchar_t *_DstBuf, _In_ size_t _MaxCount, _In_z_ _Printf_format_string_ const wchar_t *_Format, va_list _ArgList)
_Check_return_ _CRTIMP int __cdecl _vscwprintf_l(_In_z_ _Printf_format_string_params_(2) const wchar_t *_Format, _In_opt_ _locale_t _Locale, va_list _ArgList)
_Check_return_ _CRTIMP int __cdecl _wfindnext64(_In_ intptr_t _FindHandle, _Out_ struct _wfinddata64_t *_FindData)
_Check_return_ _CRTIMP int __cdecl _wchmod(_In_z_ const wchar_t *_Filename, _In_ int _Mode)
_Check_return_ _CRTIMP wint_t __cdecl towupper(_In_ wint_t _C)
_Check_return_ _CRTIMP float __cdecl _wcstof_l(_In_z_ const wchar_t *_Str, _Out_opt_ _Deref_post_z_ wchar_t **_EndPtr, _In_opt_ _locale_t _Locale)
__time32_t time_write
Definition: io.h:114
_Check_return_opt_ _CRTIMP int __cdecl _fwprintf_l(_Inout_ FILE *_File, _In_z_ _Printf_format_string_params_(0) const wchar_t *_Format, _In_opt_ _locale_t _Locale,...)
_Check_return_ _CRTIMP int __cdecl _wcsicoll(_In_z_ const wchar_t *_Str1, _In_z_ const wchar_t *_Str2)
_CRTIMP errno_t __cdecl _wctime64_s(_Out_writes_(_SizeInWords) _Post_readable_size_(26) wchar_t *_Buf, _In_ size_t _SizeInWords, _In_ const __time64_t *_Time)
_Check_return_opt_ _In_ size_t _In_z_ _Scanf_format_string_ const wchar_t _Check_return_opt_ _In_ size_t _In_z_ _In_opt_ _locale_t _Check_return_opt_ _CRTIMP_ALTERNATIVE int __cdecl _snwscanf_s(_In_reads_(_MaxCount) _Pre_z_ const wchar_t *_Src, _In_ size_t _MaxCount, _In_z_ _Scanf_s_format_string_ const wchar_t *_Format,...)
_Check_return_ _CRTIMP intptr_t __cdecl _wfindfirst32(_In_z_ const wchar_t *_Filename, _Out_ struct _wfinddata32_t *_FindData)
_Check_return_ _In_z_ const wchar_t _Inout_ FILE * _OldFile
Definition: wchar.h:843
_Diff _Count
Definition: algorithm:1941
_Check_return_wat_ _CRTIMP errno_t __cdecl _ultow_s(_In_ unsigned long _Val, _Out_writes_z_(_SizeInWords) wchar_t *_DstBuf, _In_ size_t _SizeInWords, _In_ int _Radix)
_Check_return_ _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)
_CRTIMP _In_ size_t _Size
Definition: wchar.h:1244
#define _Inout_
Definition: sal.h:384
_ino_t st_ino
Definition: stat.h:140
_Check_return_opt_ _CRTIMP int __cdecl _cputws(_In_z_ const wchar_t *_String)
#define isleadbyte(_c)
Definition: wchar.h:460
_Pre_maybenull_ _Post_z_ wchar_t _Pre_maybenull_ _Post_z_ wchar_t * _Dir
Definition: wchar.h:1001
_Check_return_opt_ _CRTIMP int __cdecl _vcwprintf(_In_z_ _Printf_format_string_ const wchar_t *_Format, va_list _ArgList)
_W64 int intptr_t
Definition: crtdefs.h:512
Definition: stat.h:124
#define _iswalnum_l(_c, _p)
Definition: wchar.h:453
int tm_sec
Definition: time.h:114
_Check_return_wat_ _CRTIMP errno_t __cdecl _ui64tow_s(_In_ unsigned __int64 _Val, _Out_writes_z_(_SizeInWords) wchar_t *_DstBuf, _In_ size_t _SizeInWords, _In_ int _Radix)
_Check_return_ _CRTIMP __int64 __cdecl _wcstoi64(_In_z_ const wchar_t *_Str, _Out_opt_ _Deref_post_z_ wchar_t **_EndPtr, _In_ int _Radix)
_CRTIMP errno_t __cdecl mbsrtowcs_s(_Out_opt_ size_t *_Retval, _Out_writes_opt_z_(_Size) wchar_t *_Dst, _In_ size_t _Size, _Inout_ _Deref_prepost_opt_valid_ const char **_PSrc, _In_ size_t _N, _Out_opt_ mbstate_t *_State)
Definition: stat.h:92
_Check_return_opt_ _CRTIMP int __cdecl _vswprintf_c_l(_Out_writes_z_(_MaxCount) wchar_t *_DstBuf, _In_ size_t _MaxCount, _In_z_ _Printf_format_string_params_(2) const wchar_t *_Format, _In_opt_ _locale_t _Locale, va_list _ArgList)
_Check_return_wat_ _CRTIMP errno_t __cdecl _i64tow_s(_In_ __int64 _Val, _Out_writes_z_(_SizeInWords) wchar_t *_DstBuf, _In_ size_t _SizeInWords, _In_ int _Radix)
_Check_return_ _CRTIMP FILE *__cdecl _wpopen(_In_z_ const wchar_t *_Command, _In_z_ const wchar_t *_Mode)
_Check_return_opt_ _CRTIMP int __cdecl _fwprintf_s_l(_Inout_ FILE *_File, _In_z_ _Printf_format_string_params_(0) const wchar_t *_Format, _In_opt_ _locale_t _Locale,...)
_Check_return_opt_ _Check_return_opt_ _In_opt_ _locale_t _Locale
Definition: wchar.h:638
__time32_t time_write
Definition: io.h:105
_Check_return_ _CRTIMP int __cdecl _scwprintf_l(_In_z_ _Printf_format_string_params_(0) const wchar_t *_Format, _In_opt_ _locale_t _Locale,...)
#define __DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_2_ARGLIST_EX(_ReturnType, _ReturnPolicy, _DeclSpec, _FuncName, _VFuncName, _SecureVFuncName, _SecureDstType, _SalAttributeDst, _DstType, _Dst, _TType1, _TArg1, _TType2, _TArg2)
Definition: crtdefs.h:1960
_Check_return_opt_ _CRTIMP_ALTERNATIVE int __cdecl _wscanf_s_l(_In_z_ _Scanf_s_format_string_params_(0) const wchar_t *_Format, _In_opt_ _locale_t _Locale,...)
_Check_return_wat_ _CRTIMP errno_t __cdecl _wcsupr_s(_Inout_updates_z_(_Size) wchar_t *_Str, _In_ size_t _Size)
_Check_return_ _CRTIMP double __cdecl _wtof_l(_In_z_ const wchar_t *_Str, _In_opt_ _locale_t _Locale)
unsigned attrib
Definition: io.h:129
__int64 __time64_t
Definition: crtdefs.h:572
_Check_return_opt_ _CRTIMP int __cdecl vfwprintf_s(_Inout_ FILE *_File, _In_z_ _Printf_format_string_ const wchar_t *_Format, va_list _ArgList)
__inline _In_reads_opt_(_N) const wchar_t *_S2
_CRTIMP const unsigned short *__cdecl __pctype_func(void)
_Check_return_wat_ _CRTIMP_ALTERNATIVE errno_t __cdecl _wcsset_s(_Inout_updates_z_(_SizeInWords) wchar_t *_Str, _In_ size_t _SizeInWords, wchar_t _Val)
int _file
Definition: mbstring.h:38
int tm_hour
Definition: time.h:116
#define _Pre_z_
Definition: sal.h:674
__DEFINE_CPP_OVERLOAD_STANDARD_NFUNC_0_2_EX(wchar_t *, __RETURN_POLICY_DST, _CRTIMP, wcsncat, wcsncat_s, _Inout_updates_z_(_Size) wchar_t, _Inout_updates_z_(_Count), wchar_t, _Dest, _In_z_ const wchar_t *, _Source, _In_ size_t, _Count) _Check_return_ _CRTIMP int __cdecl wcsncmp(_In_z_ const wchar_t *_Str1
#define _iswxdigit_l(_c, _p)
Definition: wchar.h:449
_Check_return_ _CRTIMP int __cdecl _wcsnicmp_l(_In_z_ const wchar_t *_Str1, _In_z_ const wchar_t *_Str2, _In_ size_t _MaxCount, _In_opt_ _locale_t _Locale)
_CRTIMP int __cdecl _cwprintf_p_l(_In_z_ _Printf_format_string_params_(0) const wchar_t *_Format, _In_opt_ _locale_t _Locale,...)
_Check_return_ _In_ int _AccessMode
Definition: io.h:323
_CRTIMP const wctype_t *__cdecl __pwctype_func(void)
__inline int __CRTDECL wmemcmp(_In_reads_(_N) const wchar_t *_S1, _In_reads_(_N) const wchar_t *_S2, _In_ size_t _N)
Definition: wchar.h:1262
#define _Post_z_
Definition: sal.h:697
_Check_return_opt_ _CRTIMP int __cdecl vfwscanf_s(_Inout_ FILE *_File, _In_z_ _Printf_format_string_ const wchar_t *_Format, va_list _ArgList)
#define iswascii(_c)
Definition: wchar.h:443
_CRTIMP int __cdecl _cwprintf_l(_In_z_ _Printf_format_string_params_(0) const wchar_t *_Format, _In_opt_ _locale_t _Locale,...)
_CRTIMP intptr_t __cdecl _wexecvp(_In_z_ const wchar_t *_Filename, _In_z_ const wchar_t *const *_ArgList)
#define iswlower(_c)
Definition: wchar.h:433
_dev_t st_dev
Definition: stat.h:93
_Check_return_opt_ _CRTIMP int __cdecl _fwscanf_s_l(_Inout_ FILE *_File, _In_z_ _Scanf_s_format_string_params_(0) const wchar_t *_Format, _In_opt_ _locale_t _Locale,...)
_CRTIMP intptr_t __cdecl _wspawnvp(_In_ int _Mode, _In_z_ const wchar_t *_Filename, _In_z_ const wchar_t *const *_ArgList)
_Check_return_wat_ _CRTIMP errno_t __cdecl _cgetws_s(_Out_writes_to_(_SizeInWords,*_SizeRead) wchar_t *_Buffer, size_t _SizeInWords, _Out_ size_t *_SizeRead)
_CRTIMP const wctype_t * _pwctype
_Check_return_opt_ _CRTIMP int __cdecl _vswprintf_c(_Out_writes_z_(_SizeInWords) wchar_t *_DstBuf, _In_ size_t _SizeInWords, _In_z_ _Printf_format_string_ const wchar_t *_Format, va_list _ArgList)
_Check_return_ _CRTIMP float __cdecl wcstof(_In_z_ const wchar_t *_Str, _Out_opt_ _Deref_post_z_ wchar_t **_EndPtr)
#define _Out_writes_to_opt_(size, count)
Definition: sal.h:362
#define __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_2_ARGLIST(_ReturnType, _FuncName, _VFuncName, _DstType, _Dst, _TType1, _TArg1, _TType2, _TArg2)
Definition: crtdefs.h:855
_Check_return_ _CRTIMP double __cdecl _wtof(_In_z_ const wchar_t *_Str)
time_t st_mtime
Definition: stat.h:118
#define _Out_writes_bytes_to_opt_(size, count)
Definition: sal.h:367
#define _Pre_notnull_
Definition: sal.h:686
_Check_return_wat_ _CRTIMP_ALTERNATIVE errno_t __cdecl _wmakepath_s(_Out_writes_z_(_SizeInWords) wchar_t *_PathResult, _In_ size_t _SizeInWords, _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)
int tm_isdst
Definition: time.h:122
__time32_t st_atime
Definition: stat.h:133
_Check_return_opt_ _CRTIMP int __cdecl _wprintf_s_l(_In_z_ _Printf_format_string_params_(0) const wchar_t *_Format, _In_opt_ _locale_t _Locale,...)
_Check_return_wat_ _CRTIMP_ALTERNATIVE errno_t __cdecl wcsncpy_s(_Out_writes_z_(_DstSize) wchar_t *_Dst, _In_ rsize_t _DstSize, _In_z_ const wchar_t *_Src, _In_ rsize_t _MaxCount)
_CRTIMP_ALTERNATIVE errno_t __cdecl _wsplitpath_s(_In_z_ const wchar_t *_FullPath, _Out_writes_opt_z_(_DriveSize) wchar_t *_Drive, _In_ size_t _DriveSize, _Out_writes_opt_z_(_DirSize) wchar_t *_Dir, _In_ size_t _DirSize, _Out_writes_opt_z_(_FilenameSize) wchar_t *_Filename, _In_ size_t _FilenameSize, _Out_writes_opt_z_(_ExtSize) wchar_t *_Ext, _In_ size_t _ExtSize)
_off_t st_size
Definition: stat.h:146
__time64_t time_create
Definition: io.h:130
#define __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_3(_ReturnType, _FuncName, _DstType, _Dst, _TType1, _TArg1, _TType2, _TArg2, _TType3, _TArg3)
Definition: crtdefs.h:848
#define iswprint(_c)
Definition: wchar.h:440
__time64_t time_access
Definition: io.h:122
wchar_t name[260]
Definition: io.h:125
_Check_return_opt_ _CRTIMP int __cdecl _cwprintf(_In_z_ _Printf_format_string_ const wchar_t *_Format,...)
char * va_list
Definition: crtdefs.h:550
_CRTIMP errno_t __cdecl _wstrdate_s(_Out_writes_(_SizeInWords) _Post_readable_size_(9) wchar_t *_Buf, _In_ size_t _SizeInWords)
_Check_return_ _Ret_maybenull_z_ _In_ int _SizeInBytes
Definition: direct.h:130
__time32_t time_create
Definition: io.h:112
_Check_return_ _CRTIMP intptr_t __cdecl _wfindfirst32i64(_In_z_ const wchar_t *_Filename, _Out_ struct _wfinddata32i64_t *_FindData)
#define __DEFINE_CPP_OVERLOAD_SECURE_FUNC_SPLITPATH(_ReturnType, _FuncName, _DstType, _Src)
Definition: crtdefs.h:856
_Check_return_opt_ wint_t __cdecl _ungetwch_nolock(wint_t _WCh)
_CRTIMP _Pre_notnull_ _Post_z_ wchar_t _In_ int _Radix
Definition: wchar.h:955
_Check_return_opt_ _CRTIMP int __cdecl _vfwprintf_l(_Inout_ FILE *_File, _In_z_ _Printf_format_string_params_(2) const wchar_t *_Format, _In_opt_ _locale_t _Locale, va_list _ArgList)
Definition: crtdefs.h:2078
_Check_return_opt_ _In_ size_t _In_z_ _Printf_format_string_params_(0) const wchar_t *_Format
_CRTIMP intptr_t __cdecl _wspawnve(_In_ int _Mode, _In_z_ const wchar_t *_Filename, _In_z_ const wchar_t *const *_ArgList, _In_opt_z_ const wchar_t *const *_Env)
#define iswspace(_c)
Definition: wchar.h:436
_Check_return_wat_ _CRTIMP errno_t __cdecl _wcslwr_s_l(_Inout_updates_z_(_SizeInWords) wchar_t *_Str, _In_ size_t _SizeInWords, _In_opt_ _locale_t _Locale)
_Check_return_opt_ _CRTIMP int __cdecl _wprintf_p_l(_In_z_ _Printf_format_string_params_(0) const wchar_t *_Format, _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)
long off_t
Definition: wchar.h:494
_off_t st_size
Definition: stat.h:116
__inline int __CRTDECL mbsinit(_In_opt_ const mbstate_t *_P)
Definition: wchar.h:1255
#define iswgraph(_c)
Definition: wchar.h:441
_Check_return_ _In_z_ _Scanf_format_string_ const wchar_t _Check_return_opt_ _In_z_ _In_opt_ _locale_t _Check_return_opt_ _CRTIMP_ALTERNATIVE int __cdecl swscanf_s(_In_z_ const wchar_t *_Src, _In_z_ _Scanf_s_format_string_ const wchar_t *_Format,...)
#define putwc(_c, _stm)
Definition: wchar.h:881
_Check_return_ _CRTIMP int __cdecl wcscoll(_In_z_ const wchar_t *_Str1, _In_z_ const wchar_t *_Str2)
unsigned int _dev_t
Definition: wchar.h:482
#define _Post_maybez_
Definition: sal.h:1378
_Check_return_opt_ _CRTIMP_ALTERNATIVE int __cdecl _snwscanf_s_l(_In_reads_(_MaxCount) _Pre_z_ const wchar_t *_Src, _In_ size_t _MaxCount, _In_z_ _Scanf_s_format_string_params_(0) const wchar_t *_Format, _In_opt_ _locale_t _Locale,...)
_Check_return_opt_ _CRTIMP_ALTERNATIVE int __cdecl vswscanf_s(const wchar_t *_Dst, _In_z_ _Printf_format_string_ const wchar_t *_Format, va_list _ArgList)
_CRTIMP int __cdecl _cwprintf_s_l(_In_z_ _Printf_format_string_params_(0) const wchar_t *_Format, _In_opt_ _locale_t _Locale,...)
_Check_return_ _CRTIMP __int64 __cdecl _wtoi64_l(_In_z_ const wchar_t *_Str, _In_opt_ _locale_t _Locale)
_Post_equal_to_(_Dst) _At_buffer_((unsigned char *) _Dst
_Check_return_ _In_ int _PermissionMode
Definition: wchar.h:342