Add getopt_long,getopt_long_only to gnu.cfg
This commit is contained in:
parent
14a312e310
commit
22611c4b74
27
cfg/gnu.cfg
27
cfg/gnu.cfg
|
@ -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); -->
|
||||||
|
|
Loading…
Reference in New Issue