Skip to content

Commit a560495

Browse files
committed
edits
1 parent e383ea8 commit a560495

15 files changed

+30
-31
lines changed

docs/c-runtime-library/reference/ctime-ctime32-ctime64-wctime-wctime32-wctime64.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -64,13 +64,13 @@ By default, this function's global state is scoped to the application. To change
6464

6565
> [!Note]
6666
> 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).\
67-
> 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.\
67+
> 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.\
6868
> This change increases UCRT conformance with the C++ standard, while also improving compatibility with C++ modules.\
69-
> This applies to the following functions: ctime, _wctime
69+
> This applies to the following functions: `ctime`, `_wctime`
7070
7171
### Generic-text routine mappings
7272

73-
| TCHAR.H routine | `_UNICODE` and `_MBCS` not defined | `_MBCS` defined | `_UNICODE` defined |
73+
| `TCHAR.H` routine | `_UNICODE` and `_MBCS` not defined | `_MBCS` defined | `_UNICODE` defined |
7474
|---|---|---|---|
7575
| `_tctime` | **`ctime`** | **`ctime`** | **`_wctime`** |
7676
| `_tctime32` | **`_ctime32`** | **`_ctime32`** | **`_wctime32`** |
@@ -80,12 +80,12 @@ By default, this function's global state is scoped to the application. To change
8080

8181
| Routine | Required header |
8282
|---|---|
83-
| **`ctime`** | \<time.h> |
84-
| **`_ctime32`** | \<time.h> |
85-
| **`_ctime64`** | \<time.h> |
86-
| **`_wctime`** | \<time.h> or \<wchar.h> |
87-
| **`_wctime32`** | \<time.h> or \<wchar.h> |
88-
| **`_wctime64`** | \<time.h> or \<wchar.h> |
83+
| **`ctime`** | `<time.h>` |
84+
| **`_ctime32`** | `<time.h>` |
85+
| **`_ctime64`** | `<time.h>` |
86+
| **`_wctime`** | `<time.h>` or `<wchar.h>` |
87+
| **`_wctime32`** | `<time.h>` or `<wchar.h>` |
88+
| **`_wctime64`** | `<time.h>` or `<wchar.h>` |
8989

9090
For more compatibility information, see [Compatibility](../compatibility.md).
9191

docs/c-runtime-library/reference/ctime-s-ctime32-s-ctime64-s-wctime-s-wctime32-s-wctime64-s.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,9 +126,9 @@ By default, this function's global state is scoped to the application. To change
126126

127127
> [!Note]
128128
> 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).\
129-
> 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.\
129+
> 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.\
130130
> This change increases UCRT conformance with the C++ standard, while also improving compatibility with C++ modules.\
131-
> This applies to the following functions: ctime_s, _wctime_s
131+
> This applies to the following functions: `ctime_s`, `_wctime_s`
132132
133133
### Generic-text routine mappings
134134

docs/c-runtime-library/reference/difftime-difftime32-difftime64.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ api_type: ["DLLExport"]
88
topic_type: ["apiref"]
99
f1_keywords: ["_difftime64", "difftime", "difftime64", "_difftime32", "difftime32"]
1010
helpviewer_keywords: ["_difftime32 function", "difftime function", "time, finding the difference", "difftime64 function", "_difftime64 function", "difftime32 function"]
11-
ms.assetid: 4cc0ac2b-fc7b-42c0-8283-8c9d10c566d0
1211
---
1312
# `difftime`, `_difftime32`, `_difftime64`
1413

@@ -51,15 +50,15 @@ By default, this function's global state is scoped to the application. To change
5150
> You can opt-out of the change for your project by defining `_STATIC_INLINE_UCRT_FUNCTIONS=1`.\
5251
> You can adopt the change early by defining `_STATIC_INLINE_UCRT_FUNCTIONS=0`.\
5352
> This change improves conformance and helps avoid One Definition Rule (ODR) violations, especially when using modules.\
54-
> This applies to the following functions: difftime
53+
> This applies to the following function: `difftime`
5554
5655
## Requirements
5756
5857
| Routine | Required header |
5958
|---|---|
60-
| **`difftime`** | \<time.h> |
61-
| **`_difftime32`** | \<time.h> |
62-
| **`_difftime64`** | \<time.h> |
59+
| **`difftime`** | `<time.h>` |
60+
| **`_difftime32`** | `<time.h>` |
61+
| **`_difftime64`** | `<time.h>` |
6362
6463
For more compatibility information, see [Compatibility](../compatibility.md).
6564

docs/c-runtime-library/reference/ftime-ftime32-ftime64.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@ By default, this function's global state is scoped to the application. To change
4848
4949
> [!Note]
5050
> 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).\
51-
> 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.\
51+
> 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.\
5252
> This change increases UCRT conformance with the C++ standard, while also improving compatibility with C++ modules.\
53-
> This applies to the following functions: _ftime
53+
> This applies to the following function: _ftime
5454
5555
## Requirements
5656

docs/c-runtime-library/reference/futime-futime32-futime64.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,9 @@ By default, this function's global state is scoped to the application. To change
5353

5454
> [!Note]
5555
> 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).\
56-
> 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.\
56+
> 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.\
5757
> This change increases UCRT conformance with the C++ standard, while also improving compatibility with C++ modules.\
58-
> This applies to the following functions: _futime
58+
> This applies to the following function: `_futime`
5959
6060
## Requirements
6161

docs/c-runtime-library/reference/gmtime-gmtime32-gmtime64.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ By default, this function's global state is scoped to the application. To change
6161
> You can opt-out of the change for your project by defining `_STATIC_INLINE_UCRT_FUNCTIONS=1`.\
6262
> You can adopt the change early by defining `_STATIC_INLINE_UCRT_FUNCTIONS=0`.\
6363
> This change improves conformance and helps avoid One Definition Rule (ODR) violations, especially when using modules.\
64-
> This applies to the following functions: gmtime
64+
> This applies to the following function: `gmtime`
6565
6666
## Requirements
6767

docs/c-runtime-library/reference/gmtime-s-gmtime32-s-gmtime64-s.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ By default, this function's global state is scoped to the application. To change
8181
> You can opt-out of the change for your project by defining `_STATIC_INLINE_UCRT_FUNCTIONS=1`.\
8282
> You can adopt the change early by defining `_STATIC_INLINE_UCRT_FUNCTIONS=0`.\
8383
> This change improves conformance and helps avoid One Definition Rule (ODR) violations, especially when using modules.\
84-
> This applies to the following functions: gmtime_s
84+
> This applies to the following function: `gmtime_s`
8585
8686
## Requirements
8787

docs/c-runtime-library/reference/localtime-localtime32-localtime64.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ By default, this function's global state is scoped to the application. To change
7777
> You can opt-out of the change for your project by defining `_STATIC_INLINE_UCRT_FUNCTIONS=1`.\
7878
> You can adopt the change early by defining `_STATIC_INLINE_UCRT_FUNCTIONS=0`.\
7979
> This change improves conformance and helps avoid One Definition Rule (ODR) violations, especially when using modules.\
80-
> This applies to the following functions: localtime
80+
> This applies to the following function: `localtime`
8181
8282
## Requirements
8383

docs/c-runtime-library/reference/localtime-s-localtime32-s-localtime64-s.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ By default, this function's global state is scoped to the application. To change
8989
> You can opt-out of the change for your project by defining `_STATIC_INLINE_UCRT_FUNCTIONS=1`.\
9090
> You can adopt the change early by defining `_STATIC_INLINE_UCRT_FUNCTIONS=0`.\
9191
> This change improves conformance and helps avoid One Definition Rule (ODR) violations, especially when using modules.\
92-
> This applies to the following functions: localtime_s
92+
> This applies to the following function: `localtime_s`
9393
9494
## Requirements
9595

docs/c-runtime-library/reference/mkgmtime-mkgmtime32-mkgmtime64.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ Both **`gmtime`** and **`localtime`** use a common static buffer for the convers
5353
> You can opt-out of the change for your project by defining `_STATIC_INLINE_UCRT_FUNCTIONS=1`.\
5454
> You can adopt the change early by defining `_STATIC_INLINE_UCRT_FUNCTIONS=0`.\
5555
> This change improves conformance and helps avoid One Definition Rule (ODR) violations, especially when using modules.\
56-
> This applies to the following functions: _mkgmtime
56+
> This applies to the following function: `_mkgmtime`
5757
5858
## Examples
5959

0 commit comments

Comments
 (0)