gnu.cfg: Improved configuration for mkostemp(), mkstemps() and mkostemps().

This commit is contained in:
orbitcowboy 2019-05-16 16:02:05 +02:00
parent 719eb25ba9
commit 0469111750
1 changed files with 6 additions and 2 deletions

View File

@ -762,7 +762,6 @@
<function name="mkostemp,mkstemps"> <function name="mkostemp,mkstemps">
<returnValue type="int"/> <returnValue type="int"/>
<noreturn>false</noreturn> <noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1" direction="inout"> <arg nr="1" direction="inout">
<not-null/> <not-null/>
<not-uninit/> <not-uninit/>
@ -776,7 +775,6 @@
<function name="mkostemps"> <function name="mkostemps">
<returnValue type="int"/> <returnValue type="int"/>
<noreturn>false</noreturn> <noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1" direction="inout"> <arg nr="1" direction="inout">
<not-null/> <not-null/>
<not-uninit/> <not-uninit/>
@ -1122,6 +1120,12 @@
</arg> </arg>
</function> </function>
<!-- ########## Resource allocation ########## --> <!-- ########## Resource allocation ########## -->
<resource>
<alloc init="true">mkostemp</alloc>
<alloc init="true">mkstemps</alloc>
<alloc init="true">mkostemps</alloc>
<dealloc>close</dealloc>
</resource>
<resource> <resource>
<dealloc>close</dealloc> <dealloc>close</dealloc>
<alloc init="true">epoll_create</alloc> <alloc init="true">epoll_create</alloc>