std.cfg: Added support bsearch_s() which was introduced with C11

This commit is contained in:
orbitcowboy 2020-10-01 08:32:48 +02:00
parent 1548bf2267
commit 4bf827e44d
1 changed files with 34 additions and 1 deletions

View File

@ -4259,7 +4259,40 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun
</arg>
<arg nr="2"/>
</function>
<!-- void* bsearch(const void* key, const void* base, size_t num, size_t size, int(*compar)(const void*,const void*));-->
<!-- void* bsearch_s( const void *key, const void *ptr , rsize_t count, rsize_t size, int (*comp)(const void *, const void *, void *), void *context ); since C11-->
<function name="bsearch_s">
<use-retval/>
<pure/>
<returnValue type="void *"/>
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1" direction="in">
<not-null/>
<not-uninit/>
</arg>
<arg nr="2" direction="in">
<not-null/>
<not-uninit/>
<minsize type="argvalue" arg="3"/>
</arg>
<arg nr="3" direction="in">
<not-uninit/>
<valid>0:</valid>
</arg>
<arg nr="4" direction="in">
<not-uninit/>
<valid>0:</valid>
</arg>
<arg nr="5" direction="in">
<not-null/>
<not-uninit/>
</arg>
<arg nr="6" direction="in">
<not-null/>
<not-uninit/>
</arg>
</function>
<!-- void* bsearch ( const void* key, const void* base , size_t num, size_t size, int(*compar)(const void*,const void*));-->
<function name="bsearch,std::bsearch">
<use-retval/>
<pure/>