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>
|
||||
</function>
|
||||
<!-- FTSENT * fts_children(FTS *ftsp, int options); -->
|
||||
<function name="readpassphrase">
|
||||
<returnValue type="fts_children"/>
|
||||
<function name="fts_children">
|
||||
<returnValue type="FTSENT *"/>
|
||||
<noreturn>false</noreturn>
|
||||
<arg nr="1">
|
||||
<not-uninit/>
|
||||
|
@ -157,6 +157,25 @@
|
|||
<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>
|
||||
<podtype name="FTS"/>
|
||||
<podtype name="FTSENT"/>
|
||||
</def>
|
||||
|
|
Loading…
Reference in New Issue