[INCLUDE/CRT]

Fix annotations for _dupenv_s and _wdupenv_s (They are broken in MS headers, looks like nobody uses attributes for SAL...)

svn path=/trunk/; revision=66653
This commit is contained in:
Timo Kreuzer 2015-03-10 09:09:48 +00:00
parent 54b2c750ce
commit ba96aa436b

View file

@ -19,7 +19,7 @@ extern "C" {
errno_t
__cdecl
_dupenv_s(
_Outptr_result_buffer_maybenull_(*_PBufferSizeInBytes) _Outptr_result_z_ char **_PBuffer,
_Outptr_result_buffer_maybenull_(*_PBufferSizeInBytes) _Outptr_result_maybenull_z_ char **_PBuffer,
_Out_opt_ size_t *_PBufferSizeInBytes,
_In_z_ const char *_VarName);
@ -180,7 +180,7 @@ extern "C" {
errno_t
__cdecl
_wdupenv_s(
_Outptr_result_buffer_maybenull_(*_BufferSizeInWords) _Outptr_result_z_ wchar_t **_Buffer,
_Outptr_result_buffer_maybenull_(*_BufferSizeInWords) _Outptr_result_maybenull_z_ wchar_t **_Buffer,
_Out_opt_ size_t *_BufferSizeInWords,
_In_z_ const wchar_t *_VarName);