bsd.cfg: Add strlcpy(), fix fts_children() (#1284)
This commit is contained in:
parent
335cb480bf
commit
f129d8bd6b
23
cfg/bsd.cfg
23
cfg/bsd.cfg
|
@ -26,8 +26,8 @@
|
||||||
</arg>
|
</arg>
|
||||||
</function>
|
</function>
|
||||||
<!-- FTSENT * fts_children(FTS *ftsp, int options); -->
|
<!-- FTSENT * fts_children(FTS *ftsp, int options); -->
|
||||||
<function name="readpassphrase">
|
<function name="fts_children">
|
||||||
<returnValue type="fts_children"/>
|
<returnValue type="FTSENT *"/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<arg nr="1">
|
<arg nr="1">
|
||||||
<not-uninit/>
|
<not-uninit/>
|
||||||
|
@ -157,6 +157,25 @@
|
||||||
<valid>0:</valid>
|
<valid>0:</valid>
|
||||||
</arg>
|
</arg>
|
||||||
</function>
|
</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>
|
||||||
<podtype name="FTS"/>
|
<podtype name="FTS"/>
|
||||||
<podtype name="FTSENT"/>
|
<podtype name="FTSENT"/>
|
||||||
</def>
|
</def>
|
||||||
|
|
Loading…
Reference in New Issue