Skip to content

Commit f94a60d

Browse files
authored
std.cfg: added EXIT_SUCCESS and EXIT_FAILURE (#6223)
Although the values are implementation dependent and thus not documented, they reflect the common values of 0 and positive non-0 for success/failure. For the analysis it is also not important that these are correct but that they are being consistent across the code. https://en.cppreference.com/w/cpp/utility/program/EXIT_status
1 parent d5e58ff commit f94a60d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

cfg/std.cfg

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1271,6 +1271,8 @@
12711271
<not-uninit/>
12721272
</arg>
12731273
</function>
1274+
<define name="EXIT_SUCCESS" value="0"/>
1275+
<define name="EXIT_FAILURE" value="1"/>
12741276
<!-- double erf(double x); -->
12751277
<function name="erf,std::erf">
12761278
<use-retval/>

0 commit comments

Comments
 (0)