Skip to content

Commit cdeb7fb

Browse files
committed
posix.cfg: Added support for wcpncpy.
1 parent b14146b commit cdeb7fb

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

cfg/posix.cfg

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3231,6 +3231,26 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
32313231
<not-null/>
32323232
</arg>
32333233
</function>
3234+
<!-- http://man7.org/linux/man-pages/man3/wcpncpy.3.html -->
3235+
<!-- wchar_t *wcpncpy(wchar_t *dest, const wchar_t *src, size_t n); -->
3236+
<function name="wcpncpy">
3237+
<returnValue type="wchar_t *"/>
3238+
<noreturn>false</noreturn>
3239+
<leak-ignore/>
3240+
<arg nr="1">
3241+
<not-null/>
3242+
<minsize type="argvalue" arg="3"/>
3243+
</arg>
3244+
<arg nr="2">
3245+
<not-null/>
3246+
<not-uninit/>
3247+
</arg>
3248+
<arg nr="3">
3249+
<not-uninit/>
3250+
<not-bool/>
3251+
<valid>0:</valid>
3252+
</arg>
3253+
</function>
32343254
<!-- http://man7.org/linux/man-pages/man3/memccpy.3.html -->
32353255
<!-- void *memccpy(void *dest, const void *src, int c, size_t n);-->
32363256
<function name="memccpy">

0 commit comments

Comments
 (0)