Skip to content

Commit cffe208

Browse files
committed
remove changes from _fstat and _stat
1 parent a560495 commit cffe208

File tree

2 files changed

+2
-14
lines changed

2 files changed

+2
-14
lines changed

docs/c-runtime-library/reference/fstat-fstat32-fstat64-fstati64-fstat32i64-fstat64i32.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Gets information about an open file.
1616
## Syntax
1717

1818
```C
19-
int _fstat( // See note in remarks section about linkage
19+
int _fstat(
2020
int fd,
2121
struct _stat *buffer
2222
);
@@ -81,12 +81,6 @@ Unless `_USE_32BIT_TIME_T` is defined, **`_fstat`** is equivalent to **`_fstat64
8181

8282
By default, this function's global state is scoped to the application. To change this behavior, see [Global state in the CRT](../global-state.md).
8383

84-
> [!Note]
85-
> Starting with Windows SDK version 10.0.xxxxx.xxxx and Visual Studio 2026 or later, the following functions are no longer declared as `static inline` (internal linkage). Instead, they are now declared as `inline` (external linkage).\
86-
> To return to the previous behavior, `#define _STATIC_INLINE_UCRT_FUNCTIONS=1`before including any CRT headers. By default, `_STATIC_INLINE_UCRT_FUNCTIONS` is set to 0.\
87-
> This change increases UCRT conformance with the C++ standard, while also improving compatibility with C++ modules.\
88-
> This applies to the following functions: _fstat
89-
9084
### Time type and file length type variations of `_stat`
9185

9286
| Functions | `_USE_32BIT_TIME_T` defined? | Time type | File length type |

docs/c-runtime-library/reference/stat-functions.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Get status information on a file.
1616
## Syntax
1717

1818
```C
19-
int _stat( // See note in remarks section about linkage
19+
int _stat(
2020
const char *path,
2121
struct _stat *buffer
2222
);
@@ -100,12 +100,6 @@ This function validates its parameters. If either *`path`* or *`buffer`* is `NUL
100100

101101
By default, this function's global state is scoped to the application. To change this behavior, see [Global state in the CRT](../global-state.md).
102102

103-
> [!Note]
104-
> Starting with Windows SDK version 10.0.xxxxx.xxxx and Visual Studio 2026 or later, the following functions are no longer declared as `static inline` (internal linkage). Instead, they are now declared as `inline` (external linkage).\
105-
> To return to the previous behavior, `#define _STATIC_INLINE_UCRT_FUNCTIONS=1`before including any CRT headers. By default, `_STATIC_INLINE_UCRT_FUNCTIONS` is set to 0.\
106-
> This change increases UCRT conformance with the C++ standard, while also improving compatibility with C++ modules.\
107-
> This applies to the following functions: _stat
108-
109103
### Time type and file length type variations of `_stat`
110104

111105
| Functions | `_USE_32BIT_TIME_T` defined | Time type | File length type |

0 commit comments

Comments
 (0)