ReactOS 0.4.15-dev-7711-g5627da4
string.h
Go to the documentation of this file.
1
6#ifndef _INC_STRING
7#define _INC_STRING
8
9#include <crtdefs.h>
10
11#ifdef __cplusplus
12extern "C" {
13#endif
14
15#ifndef _NLSCMP_DEFINED
16#define _NLSCMP_DEFINED
17#define _NLSCMPERROR 2147483647
18#endif
19
20#ifndef _CRT_MEMORY_DEFINED
21#define _CRT_MEMORY_DEFINED
22
24 void*
28 _In_ const void *_Src,
29 _In_ int _Val,
30 _In_ size_t _MaxCount);
31
35 void*
38 _In_reads_bytes_opt_(_MaxCount) const void *_Buf,
39 _In_ int _Val,
40 _In_ size_t _MaxCount);
41
44 int
47 _In_reads_bytes_opt_(_Size) const void *_Buf1,
48 _In_reads_bytes_opt_(_Size) const void *_Buf2,
49 _In_ size_t _Size);
50
53 int
56 _In_reads_bytes_opt_(_Size) const void *_Buf1,
57 _In_reads_bytes_opt_(_Size) const void *_Buf2,
58 _In_ size_t _Size,
60
62 int
65 _In_reads_bytes_(_Size) const void *_Buf1,
66 _In_reads_bytes_(_Size) const void *_Buf2,
67 _In_ size_t _Size);
68
70 _At_buffer_((unsigned char*)_Dst,
73 _Post_satisfies_(((unsigned char*)_Dst)[_Iter_] == ((unsigned char*)_Src)[_Iter_]))
75 void*
77 memcpy(
79 _In_reads_bytes_(_MaxCount) const void *_Src,
80 _In_ size_t _MaxCount);
81
82 _Post_equal_to_(_Dst)
83 _At_buffer_((unsigned char*)_Dst,
84 _Iter_,
86 _Post_satisfies_(((unsigned char*)_Dst)[_Iter_] == _Val))
87 void*
89 memset(
90 _Out_writes_bytes_all_(_Size) void *_Dst,
92 _In_ size_t _Size);
93
94#ifndef NO_OLDNAMES
95
98 void*
101 _Out_writes_bytes_opt_(_Size) void *_Dst,
102 _In_reads_bytes_opt_(_Size) const void *_Src,
103 _In_ int _Val,
104 _In_ size_t _Size);
105
107 _CRTIMP
109 int
110 __cdecl
112 _In_reads_bytes_opt_(_Size) const void *_Buf1,
113 _In_reads_bytes_opt_(_Size) const void *_Buf2,
114 _In_ size_t _Size);
115
116#endif /* NO_OLDNAMES */
117
118#endif /* _CRT_MEMORY_DEFINED */
119
120 char*
121 __cdecl
123 _Inout_z_ char *_Str,
124 _In_ int _Val);
125
126 char*
127 __cdecl
129 _Out_writes_z_(_String_length_(_Source) + 1) char *_Dest,
130 _In_z_ const char *_Source);
131
132 char*
133 __cdecl
135 _Inout_updates_z_(_String_length_(_Dest) + _String_length_(_Source) + 1) char *_Dest,
136 _In_z_ const char *_Source);
137
139 int
140 __cdecl
142 _In_z_ const char *_Str1,
143 _In_z_ const char *_Str2);
144
145 _CRTIMP
146 size_t
147 __cdecl
149 _In_z_ const char *_Str);
150
151 _When_(_MaxCount > _String_length_(_Str),
152 _Post_satisfies_(return == _String_length_(_Str)))
153 _When_(_MaxCount <= _String_length_(_Str),
155 _CRTIMP
156 size_t
157 __cdecl
158 strnlen(
159 _In_reads_or_z_(_MaxCount) const char *_Str,
160 _In_ size_t _MaxCount);
161
163 void*
164 __cdecl
167 _In_reads_bytes_opt_(_MaxCount) const void *_Src,
168 _In_ size_t _MaxCount);
169
171 _CRTIMP
172 char*
173 __cdecl
175 _In_opt_z_ const char *_Src);
176
178 _CRTIMP
180 char*
181 __cdecl
183 _In_z_ const char *_Str,
184 _In_ int _Val);
185
187 _CRTIMP
188 int
189 __cdecl
191 _In_z_ const char *_Str1,
192 _In_z_ const char *_Str2);
193
195 _CRTIMP
196 int
197 __cdecl
199 _In_z_ const char *_Str1,
200 _In_z_ const char *_Str2);
201
203 _CRTIMP
204 int
205 __cdecl
207 _In_z_ const char *_Str1,
208 _In_z_ const char *_Str2,
210
212 _CRTIMP
213 int
214 __cdecl
216 _In_z_ const char *_Str1,
217 _In_z_ const char *_Str2);
218
220 _CRTIMP
221 int
222 __cdecl
224 _In_z_ const char *_Str1,
225 _In_z_ const char *_Str2,
227
229 _CRTIMP
230 int
231 __cdecl
233 _In_z_ const char *_Str1,
234 _In_z_ const char *_Str2);
235
237 _CRTIMP
238 int
239 __cdecl
241 _In_z_ const char *_Str1,
242 _In_z_ const char *_Str2,
244
246 _CRTIMP
247 int
248 __cdecl
250 _In_z_ const char *_Str1,
251 _In_z_ const char *_Str2,
252 _In_ size_t _MaxCount);
253
255 _CRTIMP
256 int
257 __cdecl
259 _In_z_ const char *_Str1,
260 _In_z_ const char *_Str2,
261 _In_ size_t _MaxCount,
263
265 _CRTIMP
266 int
267 __cdecl
269 _In_z_ const char *_Str1,
270 _In_z_ const char *_Str2,
271 _In_ size_t _MaxCount);
272
274 _CRTIMP
275 int
276 __cdecl
278 _In_z_ const char *_Str1,
279 _In_z_ const char *_Str2,
280 _In_ size_t _MaxCount,
282
284 _CRTIMP
285 size_t
286 __cdecl
288 _In_z_ const char *_Str,
289 _In_z_ const char *_Control);
290
292 _CRTIMP
294 char*
295 __cdecl
297 _In_opt_z_ const char *_ErrMsg);
298
300 _CRTIMP
302 char*
303 __cdecl
305 _In_ int);
306
307 _CRTIMP
308 char*
309 __cdecl
311 _Inout_z_ char *_String);
312
313 char*
315 char *_String,
317
318 char*
319 __cdecl
321 char *_Dest,
322 const char *_Source,
323 size_t _Count);
324
326 int
327 __cdecl
329 _In_reads_or_z_(_MaxCount) const char *_Str1,
330 _In_reads_or_z_(_MaxCount) const char *_Str2,
331 _In_ size_t _MaxCount);
332
334 _CRTIMP
335 int
336 __cdecl
338 _In_reads_or_z_(_MaxCount) const char *_Str1,
339 _In_reads_or_z_(_MaxCount) const char *_Str2,
340 _In_ size_t _MaxCount);
341
343 _CRTIMP
344 int
345 __cdecl
347 _In_reads_or_z_(_MaxCount) const char *_Str1,
348 _In_reads_or_z_(_MaxCount) const char *_Str2,
349 _In_ size_t _MaxCount,
351
352 char*
353 __cdecl
355 char *_Dest,
356 const char *_Source,
357 size_t _Count);
358
359 _CRTIMP
361 char*
362 __cdecl
363 _strnset(
364 char *_Str,
365 int _Val,
366 size_t _MaxCount);
367
369 _CRTIMP
371 char*
372 __cdecl
374 _In_z_ const char *_Str,
375 _In_z_ const char *_Control);
376
378 _CRTIMP
380 char*
381 __cdecl
383 _In_z_ const char *_Str,
384 _In_ int _Ch);
385
386 _CRTIMP
387 char*
388 __cdecl
390 _Inout_z_ char *_Str);
391
393 _CRTIMP
394 size_t
395 __cdecl
397 _In_z_ const char *_Str,
398 _In_z_ const char *_Control);
399
401 _CRTIMP
403 char*
404 __cdecl
406 _In_z_ const char *_Str,
407 _In_z_ const char *_SubStr);
408
410 _CRTIMP
412 char*
413 __cdecl
415 _Inout_opt_z_ char *_Str,
416 _In_z_ const char *_Delim);
417
418 _CRTIMP
419 char*
420 __cdecl
422 _Inout_z_ char *_String);
423
424 _CRTIMP
425 char*
426 _strupr_l(
427 char *_String,
429
431 _CRTIMP
432 size_t
433 __cdecl
436 _In_z_ const char *_Src,
437 _In_ size_t _MaxCount);
438
440 _CRTIMP
441 size_t
442 __cdecl
445 _In_z_ const char *_Src,
446 _In_ size_t _MaxCount,
448
449#if __STDC_WANT_SECURE_LIB__
450
452 _CRTIMP
453 errno_t
454 __cdecl
455 _strset_s(
456 _Inout_updates_z_(_DstSize) char *_Dst,
457 _In_ size_t _DstSize,
458 _In_ int _Value);
459
461 _CRTIMP
462 errno_t
463 __cdecl
465 _Out_writes_z_(_SizeInBytes) char *_Buf,
466 _In_ size_t _SizeInBytes,
467 _In_opt_z_ const char *_ErrMsg);
468
470 _CRTIMP
471 errno_t
472 __cdecl
473 _strlwr_s(
474 _Inout_updates_z_(_Size) char *_Str,
475 _In_ size_t _Size);
476
478 _CRTIMP
479 errno_t
480 __cdecl
482 _Inout_updates_z_(_Size) char *_Str,
483 _In_ size_t _Size,
485
487 _CRTIMP
488 errno_t
489 __cdecl
491 _Inout_updates_z_(_Size) char *_Str,
492 _In_ size_t _Size,
493 _In_ int _Val,
494 _In_ size_t _MaxCount);
495
497 _CRTIMP
498 errno_t
499 __cdecl
500 _strupr_s(
501 _Inout_updates_z_(_Size) char *_Str,
502 _In_ size_t _Size);
503
505 _CRTIMP
506 errno_t
507 __cdecl
509 _Inout_updates_z_(_Size) char *_Str,
510 _In_ size_t _Size,
512
514 _CRTIMP
515 errno_t
516 __cdecl
517 strcpy_s(
518 _Out_writes_z_(_Size) char *_Dst,
519 _In_ size_t _Size,
520 _In_z_ const char *_Src);
521
523 _CRTIMP
524 errno_t
525 __cdecl
526 strcat_s(
527 _Inout_updates_z_(_Size) char *_Dst,
528 _In_ size_t _Size,
529 _In_z_ const char *_Src);
530
531#endif /* __STDC_WANT_SECURE_LIB__ */
532
533#ifndef NO_OLDNAMES
534
536 _CRTIMP
538 char*
539 __cdecl
541 _In_opt_z_ const char *_Src);
542
544 _CRTIMP
546 int
547 __cdecl
549 _In_z_ const char *_Str1,
550 _In_z_ const char *_Str2);
551
553 _CRTIMP
555 int
556 __cdecl
558 _In_z_ const char *_Str1,
559 _In_z_ const char *_Str2);
560
561 _CRTIMP
563 char*
564 __cdecl
566 _Inout_z_ char *_Str);
567
569 _CRTIMP
571 int
572 __cdecl
574 _In_z_ const char *_Str1,
575 _In_z_ const char *_Str,
576 _In_ size_t _MaxCount);
577
578// __CRT_INLINE int __cdecl strncasecmp (const char *__sz1, const char *__sz2, size_t __sizeMaxCompare) { return _strnicmp (__sz1, __sz2, __sizeMaxCompare); }
579// __CRT_INLINE int __cdecl strcasecmp (const char *__sz1, const char *__sz2) { return _stricmp (__sz1, __sz2); }
580
581 _CRTIMP
583 char*
584 __cdecl
586 _Inout_updates_z_(_MaxCount) char *_Str,
587 _In_ int _Val,
588 _In_ size_t _MaxCount);
589
590 _CRTIMP
592 char*
593 __cdecl
595 _Inout_z_ char *_Str);
596
597 _CRTIMP
599 char*
600 __cdecl
602 _Inout_z_ char *_Str,
603 _In_ int _Val);
604
605 _CRTIMP
607 char*
608 __cdecl
610 _Inout_z_ char *_Str);
611
612#endif /* NO_OLDNAMES */
613
614#ifndef _WSTRING_DEFINED
615#define _WSTRING_DEFINED
616
618 _CRTIMP
619 wchar_t*
620 __cdecl
622 _In_z_ const wchar_t *_Str);
623
624 _CRTIMP
626 wchar_t*
627 __cdecl
629 _Inout_updates_z_(_String_length_(_Dest) + _String_length_(_Source) + 1) wchar_t *_Dest,
630 _In_z_ const wchar_t *_Source);
631
633 _When_(return != 0, _Ret_range_(_Str, _Str + _String_length_(_Str) - 1))
634 _CRTIMP
636 wchar_t*
637 __cdecl
638 wcschr(
639 _In_z_ const wchar_t *_Str,
640 wchar_t _Ch);
641
643 _CRTIMP
644 int
645 __cdecl
647 _In_z_ const wchar_t *_Str1,
648 _In_z_ const wchar_t *_Str2);
649
650 _CRTIMP
652 wchar_t*
653 __cdecl
655 _Out_writes_z_(_String_length_(_Source) + 1) wchar_t *_Dest,
656 _In_z_ const wchar_t *_Source);
657
659 _CRTIMP
660 size_t
661 __cdecl
663 _In_z_ const wchar_t *_Str,
664 _In_z_ const wchar_t *_Control);
665
666 _CRTIMP
667 wchar_t*
668 __cdecl
670 wchar_t *_Dest,
671 const wchar_t *_Source,
672 size_t _Count);
673
674 _Ret_range_(==,_String_length_(_Str))
675 _CRTIMP
676 size_t
677 __cdecl
678 wcslen(
679 _In_z_ const wchar_t *_Str);
680
681 _When_(_MaxCount > _String_length_(_Src),
682 _Post_satisfies_(return == _String_length_(_Src)))
683 _When_(_MaxCount <= _String_length_(_Src),
685 _CRTIMP
686 _CRT_INSECURE_DEPRECATE(wcsnlen_s)
687 size_t
688 __cdecl
689 wcsnlen(
690 _In_reads_or_z_(_MaxCount) const wchar_t *_Src,
691 _In_ size_t _MaxCount);
692
694 _CRTIMP
695 int
696 __cdecl
698 _In_reads_or_z_(_MaxCount) const wchar_t *_Str1,
699 _In_reads_or_z_(_MaxCount) const wchar_t *_Str2,
700 _In_ size_t _MaxCount);
701
702 _CRTIMP
704 wchar_t*
705 __cdecl
707 wchar_t *_Dest,
708 const wchar_t *_Source,
709 size_t _Count);
710
712 _CRTIMP
714 wchar_t*
715 __cdecl
717 _In_z_ const wchar_t *_Str,
718 _In_z_ const wchar_t *_Control);
719
721 _CRTIMP
723 wchar_t*
724 __cdecl
726 _In_z_ const wchar_t *_Str,
727 _In_ wchar_t _Ch);
728
730 _CRTIMP
731 size_t
732 __cdecl
734 _In_z_ const wchar_t *_Str,
735 _In_z_ const wchar_t *_Control);
736
737 _When_(return != 0,
738 _Ret_range_(_Str, _Str + _String_length_(_Str) - 1))
739 _CRTIMP
741 wchar_t*
742 __cdecl
743 wcsstr(
744 _In_z_ const wchar_t *_Str,
746
748 _CRTIMP
750 wchar_t*
751 __cdecl
753 _Inout_opt_z_ wchar_t *_Str,
754 _In_z_ const wchar_t *_Delim);
755
757 _CRTIMP
759 wchar_t*
760 __cdecl
762 _In_ int _ErrNum);
763
765 _CRTIMP
767 wchar_t*
768 __cdecl
770 _In_opt_z_ const wchar_t *_Str);
771
773 _CRTIMP
774 int
775 __cdecl
777 _In_z_ const wchar_t *_Str1,
778 _In_z_ const wchar_t *_Str2);
779
781 _CRTIMP
782 int
783 __cdecl
785 _In_z_ const wchar_t *_Str1,
786 _In_z_ const wchar_t *_Str2,
788
790 _CRTIMP
791 int
792 __cdecl
794 _In_reads_or_z_(_MaxCount) const wchar_t *_Str1,
795 _In_reads_or_z_(_MaxCount) const wchar_t *_Str2,
796 _In_ size_t _MaxCount);
797
799 _CRTIMP
800 int
801 __cdecl
803 _In_reads_or_z_(_MaxCount) const wchar_t *_Str1,
804 _In_reads_or_z_(_MaxCount) const wchar_t *_Str2,
805 _In_ size_t _MaxCount,
807
808 _CRTIMP
810 wchar_t*
811 __cdecl
812 _wcsnset(
813 wchar_t *_Str,
814 wchar_t _Val,
815 size_t _MaxCount);
816
817 _CRTIMP
818 wchar_t*
819 __cdecl
821 _Inout_z_ wchar_t *_Str);
822
823 _CRTIMP
825 wchar_t*
826 __cdecl
827 _wcsset(
828 wchar_t *_Str,
829 wchar_t _Val);
830
831 _CRTIMP
832 wchar_t*
833 __cdecl
835 _Inout_z_ wchar_t *_String);
836
837 _CRTIMP
838 wchar_t*
839 _wcslwr_l(
840 wchar_t *_String,
842
843 _CRTIMP
844 wchar_t*
845 __cdecl
847 _Inout_z_ wchar_t *_String);
848
849 _CRTIMP
850 wchar_t*
851 _wcsupr_l(
852 wchar_t *_String,
854
856 _CRTIMP
857 size_t
858 __cdecl
861 _In_z_ const wchar_t *_Src,
862 _In_ size_t _MaxCount);
863
865 _CRTIMP
866 size_t
867 __cdecl
870 _In_z_ const wchar_t *_Src,
871 _In_ size_t _MaxCount,
873
875 _CRTIMP
876 int
877 __cdecl
879 _In_z_ const wchar_t *_Str1,
880 _In_z_ const wchar_t *_Str2);
881
883 _CRTIMP
884 int
885 __cdecl
887 _In_z_ const wchar_t *_Str1,
888 _In_z_ const wchar_t *_Str2,
890
892 _CRTIMP
893 int
894 __cdecl
896 _In_z_ const wchar_t *_Str1,
897 _In_z_ const wchar_t *_Str2);
898
900 _CRTIMP
901 int
902 __cdecl
904 _In_z_ const wchar_t *_Str1,
905 _In_z_ const wchar_t *_Str2,
907
909 _CRTIMP
910 int
911 __cdecl
913 _In_z_ const wchar_t *_Str1,
914 _In_z_ const wchar_t *_Str2,
915 _In_ size_t _MaxCount);
916
918 _CRTIMP
919 int
920 __cdecl
922 _In_z_ const wchar_t *_Str1,
923 _In_z_ const wchar_t *_Str2,
924 _In_ size_t _MaxCount,
926
928 _CRTIMP
929 int
930 __cdecl
932 _In_z_ const wchar_t *_Str1,
933 _In_z_ const wchar_t *_Str2,
934 _In_ size_t _MaxCount);
935
937 _CRTIMP
938 int
939 __cdecl
941 _In_z_ const wchar_t *_Str1,
942 _In_z_ const wchar_t *_Str2,
943 _In_ size_t _MaxCount,
945
946#if __STDC_WANT_SECURE_LIB__
947
948 _CRTIMP
949 errno_t
950 __cdecl
951 wcscat_s(
952 wchar_t *Dest,
953 size_t SizeInWords,
954 const wchar_t *_Source);
955
957 _CRTIMP
958 errno_t
959 __cdecl
960 wcscpy_s(
961 _Out_writes_z_(SizeInWords) wchar_t *Dest,
962 _In_ size_t SizeInWords,
963 _In_z_ const wchar_t *_Source);
964
965 _CRTIMP
966 errno_t
967 __cdecl
968 wcsnlen_s(
969 wchar_t **_Src,
970 size_t _MaxCount);
971
973 _CRTIMP
974 errno_t
975 __cdecl
976 wcsncpy_s(
977 _Out_writes_z_(_DstSizeInChars) wchar_t *_Dst,
978 _In_ size_t _DstSizeInChars,
979 _In_z_ const wchar_t *_Src,
980 _In_ size_t _MaxCount);
981
983 _CRTIMP
984 errno_t
985 __cdecl
987 _Out_writes_opt_z_(_SizeInWords) wchar_t *_Buf,
988 _In_ size_t _SizeInWords,
989 _In_ int _ErrNum);
990
992 _CRTIMP
993 errno_t
994 __cdecl
996 _Out_writes_opt_z_(_SizeInWords) wchar_t *_Buffer,
997 _In_ size_t _SizeInWords,
998 _In_z_ const wchar_t *_ErrMsg);
999
1001 _CRTIMP
1002 errno_t
1003 __cdecl
1004 _wcsnset_s(
1005 _Inout_updates_z_(_DstSizeInWords) wchar_t *_Dst,
1006 _In_ size_t _DstSizeInWords,
1007 _In_ wchar_t _Val,
1008 _In_ size_t _MaxCount);
1009
1011 _CRTIMP
1012 errno_t
1013 __cdecl
1014 _wcsset_s(
1015 _Inout_updates_z_(_SizeInWords) wchar_t *_Str,
1016 _In_ size_t _SizeInWords,
1017 _In_ wchar_t _Val);
1018
1020 _CRTIMP
1021 errno_t
1022 __cdecl
1023 _wcslwr_s(
1024 _Inout_updates_z_(_SizeInWords) wchar_t *_Str,
1025 _In_ size_t _SizeInWords);
1026
1028 _CRTIMP
1029 errno_t
1030 __cdecl
1032 _Inout_updates_z_(_SizeInWords) wchar_t *_Str,
1033 _In_ size_t _SizeInWords,
1035
1037 _CRTIMP
1038 errno_t
1039 __cdecl
1040 _wcsupr_s(
1041 _Inout_updates_z_(_Size) wchar_t *_Str,
1042 _In_ size_t _Size);
1043
1045 _CRTIMP
1046 errno_t
1047 __cdecl
1049 _Inout_updates_z_(_Size) wchar_t *_Str,
1050 _In_ size_t _Size,
1052
1053#endif /* __STDC_WANT_SECURE_LIB__ */
1054
1055#ifndef NO_OLDNAMES
1056
1058 _CRTIMP
1060 wchar_t*
1061 __cdecl
1063 _In_z_ const wchar_t *_Str);
1064
1065#define wcswcs wcsstr
1066
1068 _CRTIMP
1070 int
1071 __cdecl
1073 _In_z_ const wchar_t *_Str1,
1074 _In_z_ const wchar_t *_Str2);
1075
1077 _CRTIMP
1079 int
1080 __cdecl
1082 _In_reads_or_z_(_MaxCount) const wchar_t *_Str1,
1083 _In_reads_or_z_(_MaxCount) const wchar_t *_Str2,
1084 _In_ size_t _MaxCount);
1085
1086 _CRTIMP
1088 wchar_t*
1089 __cdecl
1091 _Inout_updates_z_(_MaxCount) wchar_t *_Str,
1092 _In_ wchar_t _Val,
1093 _In_ size_t _MaxCount);
1094
1095 _CRTIMP
1097 wchar_t*
1098 __cdecl
1100 _Inout_z_ wchar_t *_Str);
1101
1102 _CRTIMP
1104 wchar_t*
1105 __cdecl
1107 _Inout_z_ wchar_t *_Str,
1108 wchar_t _Val);
1109
1110 _CRTIMP
1112 wchar_t*
1113 __cdecl
1115 _Inout_z_ wchar_t *_Str);
1116
1117 _CRTIMP
1119 wchar_t*
1120 __cdecl
1122 _Inout_z_ wchar_t *_Str);
1123
1125 _CRTIMP
1127 int
1128 __cdecl
1130 _In_z_ const wchar_t *_Str1,
1131 _In_z_ const wchar_t *_Str2);
1132
1133#endif /* NO_OLDNAMES */
1134
1135#endif /* !_WSTRING_DEFINED */
1136
1137#ifdef __cplusplus
1138}
1139#endif
1140
1141// HACK
1142#define strcasecmp _stricmp
1143#define strncasecmp _strnicmp
1144#define stricmp _stricmp
1145#define wcsicmp _wcsicmp
1146
1147#include <sec_api/string_s.h>
1148#endif
#define __cdecl
Definition: accygwin.h:79
#define _stricmp
Definition: cat.c:22
return
Definition: dirsup.c:529
int _Value
Definition: setjmp.h:214
#define _Check_return_opt_
Definition: crtdefs.h:453
#define _CRT_INSECURE_DEPRECATE_MEMORY(_Replacement)
Definition: crtdefs.h:237
#define _CONST_RETURN
Definition: crtdefs.h:137
#define _CRT_INSECURE_DEPRECATE(_Replacement)
Definition: crtdefs.h:213
#define _Check_return_wat_
Definition: crtdefs.h:459
#define _CRT_INSECURE_DEPRECATE_CORE(_Replacement)
Definition: crtdefs.h:222
#define _CRTIMP
Definition: crtdefs.h:72
#define _CRT_NONSTDC_DEPRECATE(_Replacement)
Definition: crtdefs.h:231
int errno_t
Definition: crtdefs.h:374
#define _strdup
Definition: debug_ros.c:7
#define wcschr
Definition: compat.h:17
#define wcsnicmp
Definition: compat.h:14
#define wcsrchr
Definition: compat.h:16
#define _strnicmp(_String1, _String2, _MaxCount)
Definition: compat.h:23
_Check_return_wat_ _CRTIMP errno_t __cdecl _strlwr_s(_Inout_updates_z_(size) char *str, _In_ size_t size)
Definition: stubs.c:511
_Check_return_wat_ _CRTIMP errno_t __cdecl _strlwr_s_l(_Inout_updates_z_(size) char *str, _In_ size_t size, _In_opt_ _locale_t locale)
Definition: stubs.c:523
_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)
Definition: stubs.c:897
_Check_return_wat_ _CRTIMP errno_t __cdecl _strset_s(_Inout_updates_z_(size) char *dst, _In_ size_t size, _In_ int val)
Definition: stubs.c:660
_Check_return_wat_ _CRTIMP errno_t __cdecl _strupr_s_l(_Inout_updates_z_(_Size) char *str, _In_ size_t size, _locale_t locale)
Definition: stubs.c:684
_Check_return_wat_ _CRTIMP errno_t __cdecl _wcsnset_s(_Inout_updates_z_(_DstSizeInWords) wchar_t *dst, _In_ size_t sizeInWords, _In_ wchar_t val, _In_ size_t maxCount)
Definition: stubs.c:870
_Check_return_wat_ _CRTIMP errno_t __cdecl _strupr_s(_Inout_updates_z_(size) char *str, _In_ size_t size)
Definition: stubs.c:673
_Check_return_wat_ _CRTIMP errno_t __cdecl _strnset_s(_Inout_updates_z_(size) char *str, _In_ size_t size, _In_ int val, _In_ size_t _MaxCount)
Definition: stubs.c:578
_Check_return_wat_ _CRTIMP errno_t __cdecl _strerror_s(_Out_writes_z_(_SizeInBytes) char *buf, _In_ size_t sizeInBytes, _In_opt_z_ const char *errMsg)
Definition: stubs.c:857
_Check_return_wat_ _CRTIMP errno_t __cdecl _wcsset_s(_Inout_updates_z_(_SizeInWords) wchar_t *str, _In_ size_t sizeInWords, _In_ wchar_t val)
Definition: stubs.c:884
_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)
Definition: stubs.c:771
_Check_return_wat_ _CRTIMP errno_t __cdecl _wcslwr_s(_Inout_updates_z_(sizeInWords) wchar_t *str, _In_ size_t sizeInWords)
Definition: stubs.c:760
_CRTIMP size_t __cdecl wcslen(_In_z_ const wchar_t *_Str)
_CONST_RETURN wchar_t *__cdecl wcsstr(_In_z_ const wchar_t *_Str, _In_z_ const wchar_t *_SubStr)
_Check_return_ _Ret_maybenull_ _In_ size_t _Count
Definition: malloc.h:108
#define memcpy(s1, s2, n)
Definition: mkisofs.h:878
#define memmove(s1, s2, n)
Definition: mkisofs.h:881
#define memchr(s, c, n)
Definition: mkisofs.h:875
#define strcpy_s(d, l, s)
Definition: utility.h:200
#define wcscpy_s(d, l, s)
Definition: utility.h:201
#define wcsncpy_s(d, l, s, n)
Definition: utility.h:202
#define strcoll
Definition: util.h:34
#define _In_reads_or_z_(size)
Definition: ms_sal.h:325
#define _In_reads_bytes_(size)
Definition: ms_sal.h:321
#define _Out_writes_z_(size)
Definition: ms_sal.h:352
#define _Out_writes_bytes_all_(size)
Definition: ms_sal.h:362
#define _In_z_
Definition: ms_sal.h:313
#define _Check_return_
Definition: ms_sal.h:557
#define _In_opt_z_
Definition: ms_sal.h:314
#define _Out_writes_opt_(size)
Definition: ms_sal.h:349
#define _Inout_updates_z_(size)
Definition: ms_sal.h:389
#define _Post_equal_to_(expr)
Definition: ms_sal.h:578
#define _Ret_range_(lb, ub)
Definition: ms_sal.h:573
#define _Out_writes_opt_z_(size)
Definition: ms_sal.h:353
#define _Must_inspect_result_
Definition: ms_sal.h:558
#define _Out_writes_bytes_all_opt_(size)
Definition: ms_sal.h:363
#define _When_(expr, annos)
Definition: ms_sal.h:254
#define _Post_maybez_
Definition: ms_sal.h:1372
#define _In_
Definition: ms_sal.h:308
#define _In_reads_bytes_opt_(size)
Definition: ms_sal.h:322
#define _At_buffer_(target, iter, bound, annos)
Definition: ms_sal.h:250
#define _In_opt_
Definition: ms_sal.h:309
#define _Post_satisfies_(cond)
Definition: ms_sal.h:588
#define _Inout_opt_z_
Definition: ms_sal.h:384
#define _Out_writes_bytes_opt_(size)
Definition: ms_sal.h:351
#define _Inout_z_
Definition: ms_sal.h:383
_CRTIMP wchar_t *__cdecl _wcsnset(wchar_t *_Str, wchar_t _Val, size_t _MaxCount)
Definition: wcs.c:77
_Check_return_ int __cdecl strcmp(_In_z_ const char *_Str1, _In_z_ const char *_Str2)
_Check_return_ _CRTIMP int __cdecl memicmp(_In_reads_bytes_opt_(_Size) const void *_Buf1, _In_reads_bytes_opt_(_Size) const void *_Buf2, _In_ size_t _Size)
_CRTIMP wchar_t *__cdecl wcsrev(_Inout_z_ wchar_t *_Str)
_Check_return_ _CRTIMP _CONST_RETURN char *__cdecl strchr(_In_z_ const char *_Str, _In_ int _Val)
_Check_return_ _CRTIMP int __cdecl _wcsicmp(_In_z_ const wchar_t *_Str1, _In_z_ const wchar_t *_Str2)
_Check_return_ int __cdecl strncmp(_In_reads_or_z_(_MaxCount) const char *_Str1, _In_reads_or_z_(_MaxCount) const char *_Str2, _In_ size_t _MaxCount)
_CRTIMP wchar_t * _wcslwr_l(wchar_t *_String, _locale_t _Locale)
Definition: stubs.c:624
_MaxCount
Definition: string.h:72
_CRTIMP char *__cdecl _strrev(_Inout_z_ char *_Str)
_Check_return_ _CRTIMP int __cdecl _stricmp_l(_In_z_ const char *_Str1, _In_z_ const char *_Str2, _In_opt_ _locale_t _Locale)
Definition: stubs.c:485
_Check_return_ _CRTIMP char *__cdecl _strerror(_In_opt_z_ const char *_ErrMsg)
_Check_return_ _CRTIMP char *__cdecl strtok(_Inout_opt_z_ char *_Str, _In_z_ const char *_Delim)
_Check_return_ _CRTIMP int __cdecl strcmpi(_In_z_ const char *_Str1, _In_z_ const char *_Str2)
_CRTIMP wchar_t *__cdecl wcsncat(wchar_t *_Dest, const wchar_t *_Source, size_t _Count)
_Check_return_ _CRTIMP int __cdecl _strcoll_l(_In_z_ const char *_Str1, _In_z_ const char *_Str2, _In_opt_ _locale_t _Locale)
Definition: stubs.c:472
_Check_return_ _CRTIMP char *__cdecl strerror(_In_ int)
char *__cdecl strncpy(char *_Dest, const char *_Source, size_t _Count)
_CRTIMP wchar_t *__cdecl wcscpy(_Out_writes_z_(_String_length_(_Source)+1) wchar_t *_Dest, _In_z_ const wchar_t *_Source)
_Check_return_ _CRTIMP int __cdecl _stricoll_l(_In_z_ const char *_Str1, _In_z_ const char *_Str2, _In_opt_ _locale_t _Locale)
Definition: stubs.c:498
_CRTIMP void *__cdecl memccpy(_Out_writes_bytes_opt_(_Size) void *_Dst, _In_reads_bytes_opt_(_Size) const void *_Src, _In_ int _Val, _In_ size_t _Size)
_Check_return_ _CRTIMP int __cdecl _strcmpi(_In_z_ const char *_Str1, _In_z_ const char *_Str2)
_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)
Definition: stubs.c:843
_CRTIMP wchar_t *__cdecl _wcsrev(_Inout_z_ wchar_t *_Str)
char *__cdecl strcat(_Inout_updates_z_(_String_length_(_Dest)+_String_length_(_Source)+1) char *_Dest, _In_z_ const char *_Source)
_Check_return_ _CRTIMP int __cdecl _wcsnicoll(_In_z_ const wchar_t *_Str1, _In_z_ const wchar_t *_Str2, _In_ size_t _MaxCount)
_Check_return_ _CRTIMP int __cdecl _strnicoll_l(_In_z_ const char *_Str1, _In_z_ const char *_Str2, _In_ size_t _MaxCount, _In_opt_ _locale_t _Locale)
Definition: stubs.c:564
_Check_return_ _CRTIMP _CONST_RETURN wchar_t *__cdecl wcspbrk(_In_z_ const wchar_t *_Str, _In_z_ const wchar_t *_Control)
_CRTIMP wchar_t *__cdecl wcsncpy(wchar_t *_Dest, const wchar_t *_Source, size_t _Count)
_CRTIMP char *__cdecl strupr(_Inout_z_ char *_Str)
#define stricmp
Definition: string.h:1144
_Check_return_opt_ _CRTIMP size_t __cdecl strxfrm(_Out_writes_opt_(_MaxCount) _Post_maybez_ char *_Dst, _In_z_ const char *_Src, _In_ size_t _MaxCount)
char *__cdecl strncat(char *_Dest, const char *_Source, size_t _Count)
_In_ int _Val
Definition: string.h:91
_Check_return_ _CRTIMP int __cdecl _wcsicoll_l(_In_z_ const wchar_t *_Str1, _In_z_ const wchar_t *_Str2, _In_opt_ _locale_t _Locale)
Definition: stubs.c:747
_CRTIMP char *__cdecl strnset(_Inout_updates_z_(_MaxCount) char *_Str, _In_ int _Val, _In_ size_t _MaxCount)
_Check_return_ _CRTIMP int __cdecl wcscmp(_In_z_ const wchar_t *_Str1, _In_z_ const wchar_t *_Str2)
_Check_return_ _CRTIMP int __cdecl _wcsnicmp_l(_In_reads_or_z_(_MaxCount) const wchar_t *_Str1, _In_reads_or_z_(_MaxCount) const wchar_t *_Str2, _In_ size_t _MaxCount, _In_opt_ _locale_t _Locale)
Definition: stubs.c:829
_Check_return_opt_ _CRTIMP size_t __cdecl _strxfrm_l(_Out_writes_opt_(_MaxCount) _Post_maybez_ char *_Dst, _In_z_ const char *_Src, _In_ size_t _MaxCount, _In_opt_ _locale_t _Locale)
_CRTIMP wchar_t *__cdecl wcsnset(_Inout_updates_z_(_MaxCount) wchar_t *_Str, _In_ wchar_t _Val, _In_ size_t _MaxCount)
_Check_return_ _CRTIMP wchar_t *__cdecl __wcserror(_In_opt_z_ const wchar_t *_Str)
_Check_return_ _CRTIMP size_t __cdecl wcsspn(_In_z_ const wchar_t *_Str, _In_z_ const wchar_t *_Control)
_Check_return_ _CRTIMP _CONST_RETURN char *__cdecl strstr(_In_z_ const char *_Str, _In_z_ const char *_SubStr)
_Check_return_ _CRTIMP wchar_t *__cdecl _wcserror(_In_ int _ErrNum)
_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)
_Check_return_ _CRTIMP int __cdecl _strnicmp_l(_In_reads_or_z_(_MaxCount) const char *_Str1, _In_reads_or_z_(_MaxCount) const char *_Str2, _In_ size_t _MaxCount, _In_opt_ _locale_t _Locale)
_Check_return_ _CRTIMP int __cdecl _strncoll_l(_In_z_ const char *_Str1, _In_z_ const char *_Str2, _In_ size_t _MaxCount, _In_opt_ _locale_t _Locale)
Definition: stubs.c:536
_Check_return_ _CRTIMP wchar_t *__cdecl _wcsdup(_In_z_ const wchar_t *_Str)
_CRTIMP char *__cdecl _strnset(char *_Str, int _Val, size_t _MaxCount)
Definition: strset.c:27
_Must_inspect_result_ _CRTIMP int __cdecl _memicmp_l(_In_reads_bytes_opt_(_Size) const void *_Buf1, _In_reads_bytes_opt_(_Size) const void *_Buf2, _In_ size_t _Size, _In_opt_ _locale_t _Locale)
_Must_inspect_result_ int __cdecl memcmp(_In_reads_bytes_(_Size) const void *_Buf1, _In_reads_bytes_(_Size) const void *_Buf2, _In_ size_t _Size)
_CRTIMP wchar_t * _wcsupr_l(wchar_t *_String, _locale_t _Locale)
Definition: stubs.c:634
_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)
Definition: stubs.c:815
_CRTIMP wchar_t *__cdecl wcslwr(_Inout_z_ wchar_t *_Str)
_Check_return_ _CRTIMP int __cdecl wcsncmp(_In_reads_or_z_(_MaxCount) const wchar_t *_Str1, _In_reads_or_z_(_MaxCount) const wchar_t *_Str2, _In_ size_t _MaxCount)
_CRTIMP wchar_t *__cdecl wcsupr(_Inout_z_ wchar_t *_Str)
_CRTIMP wchar_t *__cdecl _wcsupr(_Inout_z_ wchar_t *_String)
_Check_return_ _CRTIMP int __cdecl _wcsicoll(_In_z_ const wchar_t *_Str1, _In_z_ const wchar_t *_Str2)
_CRTIMP char *__cdecl strlwr(_Inout_z_ char *_Str)
_Size
Definition: string.h:85
_CRTIMP wchar_t *__cdecl wcsset(_Inout_z_ wchar_t *_Str, wchar_t _Val)
_Check_return_ _CRTIMP int __cdecl _strncoll(_In_z_ const char *_Str1, _In_z_ const char *_Str2, _In_ size_t _MaxCount)
_Check_return_ _CRTIMP size_t __cdecl wcscspn(_In_z_ const wchar_t *_Str, _In_z_ const wchar_t *_Control)
_Check_return_ _CRTIMP int __cdecl _wcsicmp_l(_In_z_ const wchar_t *_Str1, _In_z_ const wchar_t *_Str2, _In_opt_ _locale_t _Locale)
Definition: stubs.c:734
_CRTIMP wchar_t *__cdecl wcscat(_Inout_updates_z_(_String_length_(_Dest)+_String_length_(_Source)+1) wchar_t *_Dest, _In_z_ const wchar_t *_Source)
_Check_return_ wchar_t _Ch
Definition: string.h:640
_CRTIMP char *__cdecl _strlwr(_Inout_z_ char *_String)
_Check_return_ _CRTIMP _CONST_RETURN char *__cdecl strpbrk(_In_z_ const char *_Str, _In_z_ const char *_Control)
_CRTIMP wchar_t *__cdecl _wcslwr(_Inout_z_ wchar_t *_String)
_Iter_
Definition: string.h:71
char *__cdecl _strset(_Inout_z_ char *_Str, _In_ int _Val)
_CRTIMP wchar_t *__cdecl _wcsset(wchar_t *_Str, wchar_t _Val)
Definition: wcs.c:104
_Check_return_ _CRTIMP char *__cdecl strdup(_In_opt_z_ const char *_Src)
_Check_return_ _CRTIMP size_t __cdecl strspn(_In_z_ const char *_Str, _In_z_ const char *_Control)
_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)
_Check_return_ _CRTIMP int __cdecl _wcscoll_l(_In_z_ const wchar_t *_Str1, _In_z_ const wchar_t *_Str2, _In_opt_ _locale_t _Locale)
Definition: stubs.c:721
_CRTIMP size_t __cdecl strlen(_In_z_ const char *_Str)
_Check_return_ _CRTIMP int __cdecl wcscoll(_In_z_ const wchar_t *_Str1, _In_z_ const wchar_t *_Str2)
_CRTIMP void *__cdecl _memccpy(_Out_writes_bytes_opt_(_MaxCount) void *_Dst, _In_ const void *_Src, _In_ int _Val, _In_ size_t _MaxCount)
_Check_return_ _CRTIMP int __cdecl _strnicoll(_In_z_ const char *_Str1, _In_z_ const char *_Str2, _In_ size_t _MaxCount)
_CRTIMP char *__cdecl strset(_Inout_z_ char *_Str, _In_ int _Val)
_CRTIMP char *__cdecl strrev(_Inout_z_ char *_Str)
_Check_return_ _CRTIMP int __cdecl wcsicoll(_In_z_ const wchar_t *_Str1, _In_z_ const wchar_t *_Str2)
_Check_return_ _CRTIMP wchar_t *__cdecl wcsdup(_In_z_ const wchar_t *_Str)
_Check_return_ _CRTIMP size_t __cdecl strcspn(_In_z_ const char *_Str, _In_z_ const char *_Control)
char * strlwr_l(char *_String, _locale_t _Locale)
_CRTIMP char *__cdecl _strupr(_Inout_z_ char *_String)
_Check_return_ _CRTIMP int __cdecl _wcsnicmp(_In_reads_or_z_(_MaxCount) const wchar_t *_Str1, _In_reads_or_z_(_MaxCount) const wchar_t *_Str2, _In_ size_t _MaxCount)
_Check_return_ _CRTIMP _CONST_RETURN char *__cdecl strrchr(_In_z_ const char *_Str, _In_ int _Ch)
_Check_return_ _CRTIMP int __cdecl _stricoll(_In_z_ const char *_Str1, _In_z_ const char *_Str2)
_In_z_ const wchar_t * _SubStr
Definition: string.h:745
#define wcsicmp
Definition: string.h:1145
_Check_return_ _CRTIMP wchar_t *__cdecl wcstok(_Inout_opt_z_ wchar_t *_Str, _In_z_ const wchar_t *_Delim)
_Must_inspect_result_ _CRTIMP int __cdecl _memicmp(_In_reads_bytes_opt_(_Size) const void *_Buf1, _In_reads_bytes_opt_(_Size) const void *_Buf2, _In_ size_t _Size)
_Check_return_ _CRTIMP int __cdecl _wcsncoll(_In_z_ const wchar_t *_Str1, _In_z_ const wchar_t *_Str2, _In_ size_t _MaxCount)
_CRTIMP char * _strupr_l(char *_String, _locale_t _Locale)
Definition: stubs.c:590
char *__cdecl strcpy(_Out_writes_z_(_String_length_(_Source)+1) char *_Dest, _In_z_ const char *_Source)
_In_ size_t _SizeInBytes
Definition: time.h:146
_In_ size_t _SizeInWords
Definition: time.h:309
_In_ size_t _In_z_ _Printf_format_string_ const char _In_ const struct tm _In_opt_ _locale_t _Locale
Definition: time.h:159
int CDECL strcat_s(char *dst, size_t elem, const char *src)
Definition: string.c:40
#define memset(x, y, z)
Definition: compat.h:39
int CDECL strerror_s(char *buffer, size_t numberOfElements, int errnum)
Definition: strerror.c:100
int CDECL __wcserror_s(wchar_t *buffer, size_t nc, const wchar_t *str)
Definition: strerror.c:194
int CDECL _wcserror_s(wchar_t *buffer, size_t nc, int err)
Definition: strerror.c:166
char *CDECL strtok_s(char *str, const char *delim, char **ctx)
Definition: strtok_s.c:9
INT CDECL _wcsupr_s(wchar_t *str, size_t n)
Definition: wcs.c:115
INT CDECL wcscat_s(wchar_t *dst, size_t elem, const wchar_t *src)
Definition: wcs.c:406
wchar_t *CDECL wcstok_s(wchar_t *str, const wchar_t *delim, wchar_t **next_token)
Definition: wcstok.c:8
#define strnicmp
Definition: xmlstorage.h:206
#define const
Definition: zconf.h:233