Skip to content

Commit c985723

Browse files
committed
std.cfg: Added support for C11 function memset_s().
1 parent d6aef86 commit c985723

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

cfg/std.cfg

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2464,6 +2464,26 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun
24642464
<valid>0:</valid>
24652465
</arg>
24662466
</function>
2467+
<!-- errno_t memset_s( void *dest, rsize_t destsz, int ch, rsize_t count ) -->
2468+
<function name="memset_s">
2469+
<noreturn>false</noreturn>
2470+
<leak-ignore/>
2471+
<arg nr="1">
2472+
<not-null/>
2473+
<minsize type="argvalue" arg="2"/>
2474+
</arg>
2475+
<arg nr="2">
2476+
<not-uninit/>
2477+
<valid>0:</valid>
2478+
</arg>
2479+
<arg nr="3">
2480+
<not-uninit/>
2481+
</arg>
2482+
<arg nr="4">
2483+
<not-uninit/>
2484+
<valid>0:</valid>
2485+
</arg>
2486+
</function>
24672487
<!-- void *memset(void *s, int c, size_t n); -->
24682488
<function name="memset,std::memset">
24692489
<noreturn>false</noreturn>

0 commit comments

Comments
 (0)