Add more interfaces

This commit is contained in:
Alexander Mai 2017-06-06 23:21:05 +02:00
parent cc4ea59b4a
commit d818b4ace1
2 changed files with 98 additions and 0 deletions

View File

@ -152,4 +152,40 @@
<define name="ClipboardSuccess" value="1"/>
<define name="True" value="1"/>
<define name="False" value="0"/>
<podtype name="Widget"/>
<!-- X11... -->
<function name="XOpenDisplay">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
<not-uninit/>
</arg>
</function>
<function name="XCloseDisplay">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
<not-uninit/>
</arg>
</function>
<function name="XtDatabase">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
<not-uninit/>
</arg>
</function>
<function name="XtScreenDatabase">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
<not-uninit/>
</arg>
</function>
<resource>
<dealloc>XCloseDisplay</dealloc>
<alloc init="true">XOpenDisplay</alloc>
</resource>
<podtype name="Display"/>
<podtype name="XrmDatabase"/>
</def>

View File

@ -3128,6 +3128,64 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
<leak-ignore/>
<arg nr="6"/>
</function>
<function name="msgctl">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
<not-uninit/>
</arg>
<arg nr="2">
<not-uninit/>
</arg>
<arg nr="3">
<not-uninit/>
</arg>
</function>
<function name="msgget">
<noreturn>false</noreturn>
<use-retval/>
<arg nr="1">
<not-uninit/>
</arg>
<arg nr="2">
<not-uninit/>
</arg>
</function>
<function name="msgrcv">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
<not-uninit/>
</arg>
<arg nr="2">
<not-null/>
</arg>
<arg nr="3">
<not-uninit/>
</arg>
<arg nr="4">
<not-uninit/>
</arg>
<arg nr="5">
<not-uninit/>
</arg>
</function>
<function name="msgsnd">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
<not-uninit/>
</arg>
<arg nr="2">
<not-null/>
</arg>
<arg nr="3">
<not-uninit/>
</arg>
<arg nr="4">
<not-uninit/>
</arg>
</function>
<memory>
<alloc init="true">strdup</alloc>
<alloc init="true">strndup</alloc>
@ -3158,6 +3216,10 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
<alloc init="true">popen</alloc>
<dealloc>pclose</dealloc>
</resource>
<resource>
<alloc init="true">mq_open</alloc>
<dealloc>mq_close</dealloc>
</resource>
<!-- This type definitions refer to http://pubs.opengroup.org/onlinepubs/009695399/basedefs/sys/types.h.html-->
<podtype name="in_port_t" sign="u" size="2"/>
<podtype name="in_addr_t" sign="u" size="4"/>