posix.cfg: Improved configuration of mbsnrtowcs().

This commit is contained in:
orbitcowboy 2022-05-23 15:12:03 +02:00
parent 53328cfa7d
commit 9f9bac35d0
1 changed files with 7 additions and 6 deletions

View File

@ -3552,9 +3552,10 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
<returnValue type="size_t"/> <returnValue type="size_t"/>
<use-retval/> <use-retval/>
<noreturn>false</noreturn> <noreturn>false</noreturn>
<arg nr="1" direction="out"> <!-- If dest is NULL, len is ignored, and the conversion proceeds as
<not-null/> above, except that the converted wide characters are not written
</arg> out to memory, and that no length limit exists. -->
<arg nr="1" direction="out"/>
<arg nr="2" direction="in"> <arg nr="2" direction="in">
<not-uninit/> <not-uninit/>
<not-null/> <not-null/>
@ -3570,9 +3571,9 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
<not-bool/> <not-bool/>
<valid>0:</valid> <valid>0:</valid>
</arg> </arg>
<arg nr="5" direction="in"> <!-- In both of the above cases, if ps is NULL, a static anonymous
<not-null/> state known only to the mbsrtowcs() function is used instead. -->
</arg> <arg nr="5" direction="in"/>
</function> </function>
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/regcomp.html --> <!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/regcomp.html -->
<!-- int regcomp(regex_t *restrict preg, const char *restrict pattern, int cflags); --> <!-- int regcomp(regex_t *restrict preg, const char *restrict pattern, int cflags); -->