tmp/tmps3hlzk7w/{from.md → to.md}
RENAMED
|
@@ -24,11 +24,11 @@ namespace std {
|
|
| 24 |
#define stdin see below
|
| 25 |
#define stdout see below
|
| 26 |
|
| 27 |
namespace std {
|
| 28 |
int remove(const char* filename);
|
| 29 |
-
int rename(const char*
|
| 30 |
FILE* tmpfile();
|
| 31 |
char* tmpnam(char* s);
|
| 32 |
int fclose(FILE* stream);
|
| 33 |
int fflush(FILE* stream);
|
| 34 |
FILE* fopen(const char* filename, const char* mode);
|
|
@@ -75,10 +75,10 @@ namespace std {
|
|
| 75 |
|
| 76 |
The contents and meaning of the header `<cstdio>` are the same as the C
|
| 77 |
standard library header `<stdio.h>`.
|
| 78 |
|
| 79 |
Calls to the function `tmpnam` with an argument that is a null pointer
|
| 80 |
-
value may introduce a data race
|
| 81 |
-
|
| 82 |
|
| 83 |
-
ISO C
|
| 84 |
|
|
|
|
| 24 |
#define stdin see below
|
| 25 |
#define stdout see below
|
| 26 |
|
| 27 |
namespace std {
|
| 28 |
int remove(const char* filename);
|
| 29 |
+
int rename(const char* old_p, const char* new_p);
|
| 30 |
FILE* tmpfile();
|
| 31 |
char* tmpnam(char* s);
|
| 32 |
int fclose(FILE* stream);
|
| 33 |
int fflush(FILE* stream);
|
| 34 |
FILE* fopen(const char* filename, const char* mode);
|
|
|
|
| 75 |
|
| 76 |
The contents and meaning of the header `<cstdio>` are the same as the C
|
| 77 |
standard library header `<stdio.h>`.
|
| 78 |
|
| 79 |
Calls to the function `tmpnam` with an argument that is a null pointer
|
| 80 |
+
value may introduce a data race [[res.on.data.races]] with other calls
|
| 81 |
+
to `tmpnam` with an argument that is a null pointer value.
|
| 82 |
|
| 83 |
+
See also: ISO C 7.21
|
| 84 |
|