Skip to content

Commit f31e2e6

Browse files
committed
windows.cfg: Improved support for string-copy functions.
1 parent 8fe7ee1 commit f31e2e6

1 file changed

Lines changed: 43 additions & 0 deletions

File tree

cfg/windows.cfg

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3480,4 +3480,47 @@ HFONT CreateFont(
34803480
<not-uninit/>
34813481
</arg>
34823482
</function>
3483+
<!-- char *_mbsncpy(unsigned char char *s, const unsigned char *ct, size_t n); -->
3484+
<function name="_mbsncpy,_mbsnbcpy,_tcsncpy">
3485+
<noreturn>false</noreturn>
3486+
<leak-ignore/>
3487+
<arg nr="1">
3488+
<not-null/>
3489+
<minsize type="sizeof" arg="2"/>
3490+
<minsize type="argvalue" arg="3"/>
3491+
</arg>
3492+
<arg nr="2">
3493+
<not-null/>
3494+
<not-uninit/>
3495+
</arg>
3496+
<arg nr="3">
3497+
<not-uninit/>
3498+
<not-bool/>
3499+
<valid>0:</valid>
3500+
</arg>
3501+
</function>
3502+
<!-- char *_strncpy_l(unsigned char char *s, const unsigned char *ct, size_t n, locale_t locale ); -->
3503+
<!-- wchar_t *_wcsncpy_l(wchar_t *strDest, const wchar_t *strSource, size_t count, locale_t locale);-->
3504+
<!-- unsigned char *_mbsncpy_l(unsigned char *strDest, const unsigned char *strSource, size_t count, _locale_t locale);-->
3505+
<function name="_strncpy_l,_wcsncpy_l,_mbsncpy_l,_tcsncpy_l">
3506+
<noreturn>false</noreturn>
3507+
<leak-ignore/>
3508+
<arg nr="1">
3509+
<not-null/>
3510+
<minsize type="sizeof" arg="2"/>
3511+
<minsize type="argvalue" arg="3"/>
3512+
</arg>
3513+
<arg nr="2">
3514+
<not-null/>
3515+
<not-uninit/>
3516+
</arg>
3517+
<arg nr="3">
3518+
<not-uninit/>
3519+
<not-bool/>
3520+
<valid>0:</valid>
3521+
</arg>
3522+
<arg nr="4">
3523+
<not-uninit/>
3524+
</arg>
3525+
</function>
34833526
</def>

0 commit comments

Comments
 (0)