posix.cfg and windows.cfg: Added support for more functions.
This commit is contained in:
parent
14670f743e
commit
b6fd9e2509
|
@ -2545,6 +2545,31 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
<not-uninit/>
|
<not-uninit/>
|
||||||
</arg>
|
</arg>
|
||||||
</function>
|
</function>
|
||||||
|
<!-- int fseeko(FILE *stream, off_t offset, int whence); -->
|
||||||
|
<function name="fseeko">
|
||||||
|
<noreturn>false</noreturn>
|
||||||
|
<leak-ignore/>
|
||||||
|
<arg nr="1">
|
||||||
|
<not-null/>
|
||||||
|
<not-uninit/>
|
||||||
|
</arg>
|
||||||
|
<arg nr="2">
|
||||||
|
<not-null/>
|
||||||
|
</arg>
|
||||||
|
<arg nr="3">
|
||||||
|
<not-null/>
|
||||||
|
</arg>
|
||||||
|
</function>
|
||||||
|
<!-- off_t ftello(FILE *stream); -->
|
||||||
|
<function name="ftello">
|
||||||
|
<use-retval/>
|
||||||
|
<noreturn>false</noreturn>
|
||||||
|
<leak-ignore/>
|
||||||
|
<arg nr="1">
|
||||||
|
<not-null/>
|
||||||
|
<not-uninit/>
|
||||||
|
</arg>
|
||||||
|
</function>
|
||||||
<memory>
|
<memory>
|
||||||
<alloc init="true">strdup</alloc>
|
<alloc init="true">strdup</alloc>
|
||||||
<alloc init="true">strndup</alloc>
|
<alloc init="true">strndup</alloc>
|
||||||
|
|
|
@ -982,6 +982,11 @@
|
||||||
<alloc init="true">HeapCreate</alloc>
|
<alloc init="true">HeapCreate</alloc>
|
||||||
<dealloc>HeapDestroy</dealloc>
|
<dealloc>HeapDestroy</dealloc>
|
||||||
</resource>
|
</resource>
|
||||||
|
<resource>
|
||||||
|
<alloc init="true">_wfopen</alloc>
|
||||||
|
<alloc init="true">_tfopen</alloc>
|
||||||
|
<dealloc>fclose</dealloc>
|
||||||
|
</resource>
|
||||||
<memory>
|
<memory>
|
||||||
<alloc>ExAllocatePool</alloc>
|
<alloc>ExAllocatePool</alloc>
|
||||||
<alloc>ExAllocatePoolWithQuota</alloc>
|
<alloc>ExAllocatePoolWithQuota</alloc>
|
||||||
|
@ -1912,4 +1917,42 @@ HFONT CreateFont(
|
||||||
<not-null/>
|
<not-null/>
|
||||||
</arg>
|
</arg>
|
||||||
</function>
|
</function>
|
||||||
|
<!-- int _fseeki64(FILE *stream, __int64 offset, int origin); -->
|
||||||
|
<function name="_fseeki64">
|
||||||
|
<noreturn>false</noreturn>
|
||||||
|
<leak-ignore/>
|
||||||
|
<arg nr="1">
|
||||||
|
<not-null/>
|
||||||
|
<not-uninit/>
|
||||||
|
</arg>
|
||||||
|
<arg nr="2">
|
||||||
|
<not-uninit/>
|
||||||
|
</arg>
|
||||||
|
<arg nr="3">
|
||||||
|
<not-uninit/>
|
||||||
|
</arg>
|
||||||
|
</function>
|
||||||
|
<!-- __int64 _ftelli64(FILE *stream); -->
|
||||||
|
<function name="_ftelli64">
|
||||||
|
<noreturn>false</noreturn>
|
||||||
|
<leak-ignore/>
|
||||||
|
<arg nr="1">
|
||||||
|
<not-null/>
|
||||||
|
<not-uninit/>
|
||||||
|
</arg>
|
||||||
|
</function>
|
||||||
|
<!-- FILE *_wfopen(const wchar_t *filename, const wchar_t *mode); -->
|
||||||
|
<function name="_wfopen,_tfopen">
|
||||||
|
<use-retval/>
|
||||||
|
<noreturn>false</noreturn>
|
||||||
|
<arg nr="1">
|
||||||
|
<not-null/>
|
||||||
|
<not-uninit/>
|
||||||
|
<strz/>
|
||||||
|
</arg>
|
||||||
|
<arg nr="2">
|
||||||
|
<not-null/>
|
||||||
|
<not-uninit/>
|
||||||
|
</arg>
|
||||||
|
</function>
|
||||||
</def>
|
</def>
|
||||||
|
|
Loading…
Reference in New Issue