Skip to content

Commit d63897f

Browse files
committed
posix.cfg: Added support for stpncpy().
1 parent cdeb7fb commit d63897f

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

cfg/posix.cfg

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3251,6 +3251,26 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
32513251
<valid>0:</valid>
32523252
</arg>
32533253
</function>
3254+
<!-- http://man7.org/linux/man-pages/man3/stpncpy.3.html -->
3255+
<!-- char *stpncpy(char *dest, const char *src, size_t n); -->
3256+
<function name="stpncpy">
3257+
<returnValue type="char *"/>
3258+
<noreturn>false</noreturn>
3259+
<leak-ignore/>
3260+
<arg nr="1">
3261+
<not-null/>
3262+
<minsize type="argvalue" arg="3"/>
3263+
</arg>
3264+
<arg nr="2">
3265+
<not-null/>
3266+
<not-uninit/>
3267+
</arg>
3268+
<arg nr="3">
3269+
<not-uninit/>
3270+
<not-bool/>
3271+
<valid>0:</valid>
3272+
</arg>
3273+
</function>
32543274
<!-- http://man7.org/linux/man-pages/man3/memccpy.3.html -->
32553275
<!-- void *memccpy(void *dest, const void *src, int c, size_t n);-->
32563276
<function name="memccpy">

0 commit comments

Comments
 (0)