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-null/>
<not-uninit/> <not-uninit/>
<not-bool/> <not-bool/>
<strz/>
</arg> </arg>
</function> </function>
<!-- int mkstemp(char *template); --> <!-- 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"> <arg nr="1" direction="in">
<not-null/> <not-null/>
<not-uninit/> <not-uninit/>
<strz/> <minsize type="argvalue" arg="3"/>
</arg> </arg>
<arg nr="2" direction="in"> <arg nr="2" direction="in">
<not-null/> <not-null/>
<not-uninit/> <not-uninit/>
<strz/> <minsize type="argvalue" arg="3"/>
</arg> </arg>
<arg nr="3" direction="in"> <arg nr="3" direction="in">
<not-bool/> <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"> <arg nr="1" direction="in">
<not-null/> <not-null/>
<not-uninit/> <not-uninit/>
<minsize type="argvalue" arg="3"/>
</arg> </arg>
<arg nr="2" direction="in"> <arg nr="2" direction="in">
<not-null/> <not-null/>
<not-uninit/> <not-uninit/>
<minsize type="argvalue" arg="3"/>
</arg> </arg>
<arg nr="3" direction="in"> <arg nr="3" direction="in">
<not-bool/> <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"> <arg nr="1" direction="in">
<not-null/> <not-null/>
<not-uninit/> <not-uninit/>
<strz/>
</arg> </arg>
<arg nr="2" direction="in"> <arg nr="2" direction="in">
<not-null/> <not-null/>
<not-uninit/> <not-uninit/>
<not-bool/> <not-bool/>
<strz/>
</arg> </arg>
<warn severity="style" reason="Obsolescent" alternatives="wcsstr"/> <warn severity="style" reason="Obsolescent" alternatives="wcsstr"/>
</function> </function>
@ -5139,6 +5144,8 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
<not-null/> <not-null/>
<not-uninit/> <not-uninit/>
<not-bool/> <not-bool/>
<minsize type="argvalue" arg="2"/>
<strz/>
</arg> </arg>
<arg nr="2" direction="in"> <arg nr="2" direction="in">
<not-uninit/> <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"> <arg nr="2" direction="in">
<not-null/> <not-null/>
<not-uninit/> <not-uninit/>
<minsize type="argvalue" arg="3"/>
</arg> </arg>
<arg nr="3" direction="in"> <arg nr="3" direction="in">
<not-uninit/> <not-uninit/>