269 lines
6.9 KiB
INI
269 lines
6.9 KiB
INI
<?xml version="1.0"?>
|
|
<def format="2">
|
|
<!-- int timerisset(struct timeval *tvp); -->
|
|
<function name="timerisset">
|
|
<noreturn>false</noreturn>
|
|
<leak-ignore/>
|
|
<use-retval/>
|
|
<returnValue type="int"/>
|
|
<arg nr="1" direction="in">
|
|
<not-uninit/>
|
|
<not-null/>
|
|
</arg>
|
|
</function>
|
|
<!-- void timerclear(struct timeval *tvp); -->
|
|
<function name="timerclear">
|
|
<noreturn>false</noreturn>
|
|
<leak-ignore/>
|
|
<returnValue type="void"/>
|
|
<arg nr="1" direction="inout">
|
|
<not-null/>
|
|
</arg>
|
|
</function>
|
|
<!-- void timeradd(struct timeval *a, struct timeval *b, struct timeval *res);-->
|
|
<!-- void timersub(struct timeval *a, struct timeval *b, struct timeval *res);-->
|
|
<function name="timeradd,timersub">
|
|
<noreturn>false</noreturn>
|
|
<leak-ignore/>
|
|
<returnValue type="void"/>
|
|
<arg nr="1" direction="in">
|
|
<not-uninit/>
|
|
<not-null/>
|
|
</arg>
|
|
<arg nr="2" direction="in">
|
|
<not-uninit/>
|
|
<not-null/>
|
|
</arg>
|
|
<arg nr="3" direction="out">
|
|
<not-null/>
|
|
</arg>
|
|
</function>
|
|
<!-- int timercmp(struct timeval *a, struct timeval *b, CMP)-->
|
|
<define name="timercmp(a,b,CMP)" value="(((a)->tv_sec == (b)->tv_sec) ? ((a)->tv_usec CMP (b)->tv_usec) : ((a)->tv_sec CMP (b)->tv_sec))"/>
|
|
<!-- https://www.freebsd.org/cgi/man.cgi?query=fts&sektion=3 -->
|
|
<!-- FTS * fts_open(char * const *path_argv, int options, int (*compar)(const FTSENT * const *, const FTSENT * const *)); -->
|
|
<function name="fts_open">
|
|
<returnValue type="FTS *"/>
|
|
<noreturn>false</noreturn>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="3">
|
|
<not-uninit/>
|
|
<not-null/>
|
|
</arg>
|
|
</function>
|
|
<!-- FTSENT * fts_read(FTS *ftsp); -->
|
|
<function name="fts_read">
|
|
<returnValue type="FTSENT *"/>
|
|
<noreturn>false</noreturn>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
<not-null/>
|
|
</arg>
|
|
</function>
|
|
<!-- FTSENT * fts_children(FTS *ftsp, int options); -->
|
|
<function name="fts_children">
|
|
<returnValue type="FTSENT *"/>
|
|
<noreturn>false</noreturn>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!-- int fts_set(FTS *ftsp, FTSENT *f, int options); -->
|
|
<function name="fts_set">
|
|
<returnValue type="int"/>
|
|
<noreturn>false</noreturn>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="3">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!-- void fts_set_clientptr(FTS *ftsp, void *clientdata); -->
|
|
<function name="fts_set_clientptr">
|
|
<returnValue type="void"/>
|
|
<noreturn>false</noreturn>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!-- void * fts_get_clientptr(FTS *ftsp); -->
|
|
<function name="fts_get_clientptr">
|
|
<returnValue type="void *"/>
|
|
<noreturn>false</noreturn>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!-- FTS * fts_get_stream(FTSENT *f); -->
|
|
<function name="fts_get_stream">
|
|
<returnValue type="FTS *"/>
|
|
<noreturn>false</noreturn>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!-- int fts_close(FTS *ftsp); -->
|
|
<function name="fts_close">
|
|
<returnValue type="int"/>
|
|
<noreturn>false</noreturn>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!-- https://www.freebsd.org/cgi/man.cgi?query=readpassphrase
|
|
char *readpassphrase(const char *prompt, char *buf, size_t bufsiz, int flags); -->
|
|
<function name="readpassphrase">
|
|
<returnValue type="char *"/>
|
|
<noreturn>false</noreturn>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-null/>
|
|
<minsize type="argvalue" arg="3"/>
|
|
</arg>
|
|
<arg nr="3">
|
|
<not-uninit/>
|
|
<not-null/>
|
|
</arg>
|
|
<arg nr="4">
|
|
<not-uninit/>
|
|
</arg>
|
|
<leak-ignore/>
|
|
</function>
|
|
<!-- https://www.freebsd.org/cgi/man.cgi?query=setfib&sektion=2
|
|
int setfib(int fib); -->
|
|
<function name="setfib">
|
|
<returnValue type="int"/>
|
|
<noreturn>false</noreturn>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!-- https://www.freebsd.org/cgi/man.cgi?query=strtonum
|
|
long long strtonum(const char *nptr, long long minval, long long maxval, const char **errstr); -->
|
|
<function name="strtonum">
|
|
<returnValue type="long long"/>
|
|
<noreturn>false</noreturn>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
<not-null/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="3">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="4">
|
|
<not-uninit/>
|
|
</arg>
|
|
<leak-ignore/>
|
|
</function>
|
|
<!-- https://www.freebsd.org/cgi/man.cgi?query=strlcat
|
|
size_t strlcat(char *dst, const char *src, size_t size); -->
|
|
<function name="strlcat">
|
|
<returnValue type="size_t"/>
|
|
<noreturn>false</noreturn>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-null/>
|
|
<not-uninit/>
|
|
<strz/>
|
|
<minsize type="argvalue" arg="3"/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-null/>
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="3">
|
|
<not-uninit/>
|
|
<not-bool/>
|
|
<valid>0:</valid>
|
|
</arg>
|
|
</function>
|
|
<!-- https://www.freebsd.org/cgi/man.cgi?query=strlcpy
|
|
size_t strlcpy(char * restrict dst, const char * restrict src, size_t dstsize); -->
|
|
<function name="strlcpy">
|
|
<returnValue type="size_t"/>
|
|
<noreturn>false</noreturn>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<minsize type="argvalue" arg="3"/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-null/>
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="3">
|
|
<not-uninit/>
|
|
<not-bool/>
|
|
<valid>0:</valid>
|
|
</arg>
|
|
</function>
|
|
<!-- https://www.freebsd.org/cgi/man.cgi?query=arc4random -->
|
|
<!-- uint32_t arc4random(void); -->
|
|
<function name="arc4random">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="uint32_t"/>
|
|
<use-retval/>
|
|
</function>
|
|
<!-- void arc4random_buf(void *buf, size_t nbytes); -->
|
|
<function name="arc4random_buf">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="void"/>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-null/>
|
|
<minsize type="argvalue" arg="2"/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-uninit/>
|
|
<valid>1:</valid>
|
|
</arg>
|
|
</function>
|
|
<!-- uint32_t arc4random_uniform(uint32_t upper_bound); -->
|
|
<function name="arc4random_uniform">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="uint32_t"/>
|
|
<use-retval/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
<valid>2:</valid>
|
|
</arg>
|
|
</function>
|
|
<!-- void arc4random_stir(void); -->
|
|
<function name="arc4random_stir">
|
|
<noreturn>false</noreturn>
|
|
</function>
|
|
<!-- void arc4random_addrandom(unsigned char *dat, int datlen); -->
|
|
<function name="arc4random_addrandom">
|
|
<noreturn>false</noreturn>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<minsize type="argvalue" arg="2"/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-uninit/>
|
|
<valid>0:</valid>
|
|
</arg>
|
|
</function>
|
|
<podtype name="FTS"/>
|
|
<podtype name="FTSENT"/>
|
|
</def>
|