posix.cfg: Add configuration for function getnameinfo()
Reference: https://pubs.opengroup.org/onlinepubs/9699919799/functions/getnameinfo.html
This commit is contained in:
parent
ba3414a2e8
commit
1c23366ea6
|
@ -2822,6 +2822,44 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
<not-bool/>
|
<not-bool/>
|
||||||
</arg>
|
</arg>
|
||||||
</function>
|
</function>
|
||||||
|
<!-- int getnameinfo(const struct sockaddr *restrict sa,
|
||||||
|
socklen_t salen,
|
||||||
|
char *restrict node,
|
||||||
|
socklen_t nodelen,
|
||||||
|
char *restrict service,
|
||||||
|
socklen_t servicelen,
|
||||||
|
int flags); -->
|
||||||
|
<function name="getnameinfo">
|
||||||
|
<noreturn>false</noreturn>
|
||||||
|
<returnValue type="int"/>
|
||||||
|
<leak-ignore/>
|
||||||
|
<arg nr="1" direction="in">
|
||||||
|
<not-uninit/>
|
||||||
|
<minsize type="argvalue" arg="2"/>
|
||||||
|
</arg>
|
||||||
|
<arg nr="2" direction="in">
|
||||||
|
<not-uninit/>
|
||||||
|
<valid>0:</valid>
|
||||||
|
</arg>
|
||||||
|
<arg nr="3" direction="out">
|
||||||
|
<minsize type="argvalue" arg="4"/>
|
||||||
|
</arg>
|
||||||
|
<arg nr="4" direction="in">
|
||||||
|
<not-uninit/>
|
||||||
|
<valid>0:</valid>
|
||||||
|
</arg>
|
||||||
|
<arg nr="5" direction="out">
|
||||||
|
<minsize type="argvalue" arg="6"/>
|
||||||
|
</arg>
|
||||||
|
<arg nr="6" direction="in">
|
||||||
|
<not-uninit/>
|
||||||
|
<valid>0:</valid>
|
||||||
|
</arg>
|
||||||
|
<arg nr="7" direction="in">
|
||||||
|
<not-uninit/>
|
||||||
|
<not-bool/>
|
||||||
|
</arg>
|
||||||
|
</function>
|
||||||
<!-- const char *gai_strerror(int ecode); -->
|
<!-- const char *gai_strerror(int ecode); -->
|
||||||
<function name="gai_strerror">
|
<function name="gai_strerror">
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
|
|
Loading…
Reference in New Issue