posix.cfg: Added support for stpncpy().

This commit is contained in:
orbitcowboy 2017-12-08 21:36:54 +01:00
parent cdeb7fb25f
commit d63897ff21
1 changed files with 20 additions and 0 deletions

View File

@ -3251,6 +3251,26 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
<valid>0:</valid>
</arg>
</function>
<!-- http://man7.org/linux/man-pages/man3/stpncpy.3.html -->
<!-- char *stpncpy(char *dest, const char *src, size_t n); -->
<function name="stpncpy">
<returnValue type="char *"/>
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
<not-null/>
<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>
<!-- http://man7.org/linux/man-pages/man3/memccpy.3.html -->
<!-- void *memccpy(void *dest, const void *src, int c, size_t n);-->
<function name="memccpy">