windows.cfg: Improved support for _open() and _close() functions.
This commit is contained in:
parent
27bd4a7f4c
commit
af1398900c
|
@ -1000,6 +1000,13 @@
|
||||||
<alloc init="true" arg="1">_wfopen_s</alloc>
|
<alloc init="true" arg="1">_wfopen_s</alloc>
|
||||||
<alloc init="true" arg="1">_tfopen_s</alloc>
|
<alloc init="true" arg="1">_tfopen_s</alloc>
|
||||||
<dealloc>fclose</dealloc>
|
<dealloc>fclose</dealloc>
|
||||||
|
<dealloc>_fcloseall</dealloc>
|
||||||
|
</resource>
|
||||||
|
<resource>
|
||||||
|
<alloc init="true">_open</alloc>
|
||||||
|
<alloc init="true">_topen</alloc>
|
||||||
|
<alloc init="true">_wopen</alloc>
|
||||||
|
<dealloc>_close</dealloc>
|
||||||
</resource>
|
</resource>
|
||||||
<resource>
|
<resource>
|
||||||
<alloc init="true">_popen</alloc>
|
<alloc init="true">_popen</alloc>
|
||||||
|
@ -3052,4 +3059,31 @@ HFONT CreateFont(
|
||||||
<valid>0:</valid>
|
<valid>0:</valid>
|
||||||
</arg>
|
</arg>
|
||||||
</function>
|
</function>
|
||||||
|
<!-- int _fcloseall( void ); -->
|
||||||
|
<function name="_fcloseall">
|
||||||
|
<noreturn>false</noreturn>
|
||||||
|
</function>
|
||||||
|
<!-- int _open(const char *filename, int oflag [, int pmode] );
|
||||||
|
int _wopen( const wchar_t *filename, int oflag [, int pmode]); -->
|
||||||
|
<function name="_open,_wopen,_topen">
|
||||||
|
<use-retval/>
|
||||||
|
<noreturn>false</noreturn>
|
||||||
|
<arg nr="1">
|
||||||
|
<not-null/>
|
||||||
|
<not-uninit/>
|
||||||
|
</arg>
|
||||||
|
<arg nr="2">
|
||||||
|
<not-uninit/>
|
||||||
|
</arg>
|
||||||
|
<arg nr="3">
|
||||||
|
<not-uninit/>
|
||||||
|
</arg>
|
||||||
|
</function>
|
||||||
|
<!-- int _close(int fildes); -->
|
||||||
|
<function name="_close">
|
||||||
|
<noreturn>false</noreturn>
|
||||||
|
<arg nr="1">
|
||||||
|
<not-uninit/>
|
||||||
|
</arg>
|
||||||
|
</function>
|
||||||
</def>
|
</def>
|
||||||
|
|
Loading…
Reference in New Issue