windows.cfg and posix.cfg: Added more <use-retval/> configurations.

This commit is contained in:
orbitcowboy 2016-11-28 16:58:33 +01:00
parent fa379b50b1
commit 7b1ed9f415
2 changed files with 4 additions and 0 deletions

View File

@ -611,6 +611,7 @@ The obsolescent function 'usleep' is called. POSIX.1-2001 declares usleep() func
<function name="mktemp">
<noreturn>false</noreturn>
<leak-ignore/>
<use-retval/>
<arg nr="1">
<not-null/>
<not-uninit/>
@ -836,6 +837,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
</function>
<!-- DIR *fdopendir(int fd); -->
<function name="fdopendir">
<use-retval/>
<noreturn>false</noreturn>
<arg nr="1">
<not-uninit/>
@ -852,6 +854,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
</function>
<!-- FILE *popen(const char *command, const char *type); -->
<function name="popen">
<use-retval/>
<noreturn>false</noreturn>
<arg nr="1">
<not-null/>

View File

@ -2779,6 +2779,7 @@ HFONT CreateFont(
FILE *_wpopen(const wchar_t *command, const wchar_t *mode);-->
<function name="_popen,_wpopen,_tpopen">
<noreturn>false</noreturn>
<use-retval/>
<arg nr="1">
<not-null/>
<not-uninit/>