Add getopt_long,getopt_long_only to gnu.cfg

This commit is contained in:
amai2012 2019-02-05 21:29:56 +01:00
parent 14a312e310
commit 22611c4b74
1 changed files with 27 additions and 0 deletions

View File

@ -24,6 +24,33 @@
</arg> </arg>
<leak-ignore/> <leak-ignore/>
</function> </function>
<!-- int getopt_long(int argc, char * const argv[],
const char *optstring,
const struct option *longopts, int *longindex);
-->
<function name="getopt_long,getopt_long_only">
<leak-ignore/>
<noreturn>false</noreturn>
<returnValue type="int"/>
<use-retval/>
<arg nr="1">
<not-bool/>
<not-uninit/>
<valid>0:</valid>
</arg>
<arg nr="2">
<not-uninit/>
<not-null/>
</arg>
<arg nr="3">
<not-null/>
<strz/>
</arg>
<arg nr="4">
<not-null/>
</arg>
<arg nr="5"/>
</function>
<!-- void *__builtin_memset(void *s, int c, size_t n); --> <!-- void *__builtin_memset(void *s, int c, size_t n); -->
<define name="__builtin_memset" value="memset"/> <define name="__builtin_memset" value="memset"/>
<!-- long long atoq(const char *nptr); --> <!-- long long atoq(const char *nptr); -->