Skip to content

Commit 4fffb9b

Browse files
authored
std.cfg: Added support for std::tmpfile() (danmar#7162)
Reference: https://en.cppreference.com/w/cpp/io/c/tmpfile
1 parent 9d34327 commit 4fffb9b

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

cfg/std.cfg

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5669,6 +5669,13 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun
56695669
<returnValue type="FILE *"/>
56705670
<noreturn>false</noreturn>
56715671
</function>
5672+
<!-- FILE *std::tmpfile(void); -->
5673+
<!-- https://en.cppreference.com/w/cpp/io/c/tmpfile -->
5674+
<function name="std::tmpfile">
5675+
<use-retval/>
5676+
<returnValue type="std::FILE *"/>
5677+
<noreturn>false</noreturn>
5678+
</function>
56725679
<!-- int tolower(int c); -->
56735680
<function name="tolower,std::tolower">
56745681
<pure/>

0 commit comments

Comments
 (0)