windows.cfg: Improved support for string-copy functions.

This commit is contained in:
orbitcowboy 2017-03-31 08:25:56 +02:00
parent 8fe7ee1012
commit f31e2e6696
1 changed files with 43 additions and 0 deletions

View File

@ -3480,4 +3480,47 @@ HFONT CreateFont(
<not-uninit/>
</arg>
</function>
<!-- char *_mbsncpy(unsigned char char *s, const unsigned char *ct, size_t n); -->
<function name="_mbsncpy,_mbsnbcpy,_tcsncpy">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
<not-null/>
<minsize type="sizeof" arg="2"/>
<minsize type="argvalue" arg="3"/>
</arg>
<arg nr="2">
<not-null/>
<not-uninit/>
</arg>
<arg nr="3">
<not-uninit/>
<not-bool/>
<valid>0:</valid>
</arg>
</function>
<!-- char *_strncpy_l(unsigned char char *s, const unsigned char *ct, size_t n, locale_t locale ); -->
<!-- wchar_t *_wcsncpy_l(wchar_t *strDest, const wchar_t *strSource, size_t count, locale_t locale);-->
<!-- unsigned char *_mbsncpy_l(unsigned char *strDest, const unsigned char *strSource, size_t count, _locale_t locale);-->
<function name="_strncpy_l,_wcsncpy_l,_mbsncpy_l,_tcsncpy_l">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
<not-null/>
<minsize type="sizeof" arg="2"/>
<minsize type="argvalue" arg="3"/>
</arg>
<arg nr="2">
<not-null/>
<not-uninit/>
</arg>
<arg nr="3">
<not-uninit/>
<not-bool/>
<valid>0:</valid>
</arg>
<arg nr="4">
<not-uninit/>
</arg>
</function>
</def>