posix.cfg: Added some missing <strz/> and <minsize>-flags

This commit is contained in:
orbitcowboy 2022-06-03 21:33:09 +02:00
parent cfab6aeecf
commit ee072b11cd
1 changed files with 10 additions and 2 deletions

View File

@ -1256,6 +1256,7 @@ The obsolescent function 'usleep' is called. POSIX.1-2001 declares usleep() func
<not-null/>
<not-uninit/>
<not-bool/>
<strz/>
</arg>
</function>
<!-- int mkstemp(char *template); -->
@ -2100,12 +2101,12 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
<arg nr="1" direction="in">
<not-null/>
<not-uninit/>
<strz/>
<minsize type="argvalue" arg="3"/>
</arg>
<arg nr="2" direction="in">
<not-null/>
<not-uninit/>
<strz/>
<minsize type="argvalue" arg="3"/>
</arg>
<arg nr="3" direction="in">
<not-bool/>
@ -2123,10 +2124,12 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
<arg nr="1" direction="in">
<not-null/>
<not-uninit/>
<minsize type="argvalue" arg="3"/>
</arg>
<arg nr="2" direction="in">
<not-null/>
<not-uninit/>
<minsize type="argvalue" arg="3"/>
</arg>
<arg nr="3" direction="in">
<not-bool/>
@ -4442,11 +4445,13 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
<arg nr="1" direction="in">
<not-null/>
<not-uninit/>
<strz/>
</arg>
<arg nr="2" direction="in">
<not-null/>
<not-uninit/>
<not-bool/>
<strz/>
</arg>
<warn severity="style" reason="Obsolescent" alternatives="wcsstr"/>
</function>
@ -5139,6 +5144,8 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
<not-null/>
<not-uninit/>
<not-bool/>
<minsize type="argvalue" arg="2"/>
<strz/>
</arg>
<arg nr="2" direction="in">
<not-uninit/>
@ -5448,6 +5455,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
<arg nr="2" direction="in">
<not-null/>
<not-uninit/>
<minsize type="argvalue" arg="3"/>
</arg>
<arg nr="3" direction="in">
<not-uninit/>