Skip to content

Commit

Permalink
** WIP ** Extra stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
HBelusca committed Nov 11, 2023
1 parent bead5e0 commit 1cdaf84
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 16 deletions.
32 changes: 16 additions & 16 deletions sdk/include/crt/sec_api/string_s.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,6 @@
extern "C" {
#endif

_Check_return_wat_
_CRTIMP
errno_t
__cdecl
_strset_s(
_Inout_updates_z_(_DstSize) char *_Dst,
_In_ size_t _DstSize,
_In_ int _Value);

_Check_return_wat_
_CRTIMP
errno_t
Expand All @@ -50,6 +41,15 @@ extern "C" {
_In_ size_t _Size,
_In_opt_ _locale_t _Locale);

_Check_return_wat_
_CRTIMP
errno_t
__cdecl
_strset_s(
_Inout_updates_z_(_DstSize) char *_Dst,
_In_ size_t _DstSize,
_In_ int _Value);

_Check_return_wat_
_CRTIMP
errno_t
Expand Down Expand Up @@ -277,22 +277,22 @@ extern "C" {
_CRTIMP
errno_t
__cdecl
_wcsncat_s_l(
_Inout_updates_z_(_DstSizeInChars) wchar_t *_Dst,
wcsncpy_s(
_Out_writes_z_(_DstSizeInChars) wchar_t *_Dst,
_In_ size_t _DstSizeInChars,
_In_z_ const wchar_t *_Src,
_In_ size_t _MaxCount,
_In_opt_ _locale_t _Locale);
_In_ size_t _MaxCount);

_Check_return_wat_
_CRTIMP
errno_t
__cdecl
wcsncpy_s(
_Out_writes_z_(_DstSizeInChars) wchar_t *_Dst,
_wcsncat_s_l(
_Inout_updates_z_(_DstSizeInChars) wchar_t *_Dst,
_In_ size_t _DstSizeInChars,
_In_z_ const wchar_t *_Src,
_In_ size_t _MaxCount);
_In_ size_t _MaxCount,
_In_opt_ _locale_t _Locale);

_Check_return_wat_
_CRTIMP
Expand Down
4 changes: 4 additions & 0 deletions sdk/include/crt/wchar.h
Original file line number Diff line number Diff line change
Expand Up @@ -1902,6 +1902,7 @@ _CRTIMP int __cdecl iswblank(wint_t _C);
_wcsdup(
_In_z_ const wchar_t *_Str);

_CRTIMP
wchar_t*
__cdecl
wcscat(
Expand All @@ -1916,19 +1917,22 @@ _CRTIMP int __cdecl iswblank(wint_t _C);
wchar_t _Ch);

_Check_return_
_CRTIMP
int
__cdecl
wcscmp(
_In_z_ const wchar_t *_Str1,
_In_z_ const wchar_t *_Str2);

_CRTIMP
wchar_t*
__cdecl
wcscpy(
_Out_writes_z_(_String_length_(_Source) + 1) wchar_t *_Dest,
_In_z_ const wchar_t *_Source);

_Check_return_
_CRTIMP
size_t
__cdecl
wcscspn(
Expand Down

0 comments on commit 1cdaf84

Please sign in to comment.