From Jason Turner

[support.runtime.general]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmpbh5fo5k6/{from.md → to.md} +19 -0
tmp/tmpbh5fo5k6/{from.md → to.md} RENAMED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ### General <a id="support.runtime.general">[[support.runtime.general]]</a>
2
+
3
+ Headers `<csetjmp>` (nonlocal jumps), `<csignal>` (signal handling),
4
+ `<cstdarg>` (variable arguments), and `<cstdlib>` (runtime environment
5
+ `getenv`, `system`), provide further compatibility with C code.
6
+
7
+ Calls to the function `getenv` [[cstdlib.syn]] shall not introduce a
8
+ data race [[res.on.data.races]] provided that nothing modifies the
9
+ environment.
10
+
11
+ [*Note 1*: Calls to the POSIX functions `setenv` and `putenv` modify
12
+ the environment. — *end note*]
13
+
14
+ A call to the `setlocale` function [[c.locales]] may introduce a data
15
+ race with other calls to the `setlocale` function or with calls to
16
+ functions that are affected by the current C locale. The implementation
17
+ shall behave as if no library function other than `locale::global` calls
18
+ the `setlocale` function.
19
+