Add connect() to posix.cfg

This commit is contained in:
amai2012 2019-01-22 21:51:04 +01:00
parent 8c07be136a
commit 44c12ccb31
1 changed files with 16 additions and 0 deletions

View File

@ -78,6 +78,22 @@
<alloc>dlopen</alloc>
<dealloc>dlclose</dealloc>
</resource>
<!-- int connect(int socket, const struct sockaddr *address, socklen_t address_len); -->
<function name="connect">
<noreturn>false</noreturn>
<returnValue type="int"/>
<arg nr="1">
<not-uninit/>
<not-bool/>
</arg>
<arg nr="2">
<not-null/>
<not-uninit/>
</arg>
<arg nr="2">
<not-uninit/>
</arg>
</function>
<!-- see http://pubs.opengroup.org/onlinepubs/9699919799/functions/dlopen.html -->
<function name="dlopen">
<noreturn>false</noreturn>