Add bind() to posix.cfg

This commit is contained in:
amai2012 2019-01-24 23:13:06 +01:00
parent 5c91d7b4e1
commit 8f36b7d23b
1 changed files with 16 additions and 0 deletions

View File

@ -80,6 +80,22 @@
<alloc>dlopen</alloc> <alloc>dlopen</alloc>
<dealloc>dlclose</dealloc> <dealloc>dlclose</dealloc>
</resource> </resource>
<!-- int bind(int socket, const struct sockaddr *address, socklen_t address_len); -->
<function name="bind">
<noreturn>false</noreturn>
<returnValue type="int"/>
<leak-ignore/>
<arg nr="1">
<not-uninit/>
</arg>
<arg nr="2">
<not-null/>
<minsize type="argvalue" arg="3"/>
</arg>
<arg nr="3">
<not-uninit/>
</arg>
</function>
<!-- int connect(int socket, const struct sockaddr *address, socklen_t address_len); --> <!-- int connect(int socket, const struct sockaddr *address, socklen_t address_len); -->
<function name="connect"> <function name="connect">
<noreturn>false</noreturn> <noreturn>false</noreturn>