You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Determines file read/write permissions. These functions are versions of [`_access`, `_waccess`](access-waccess.md) with security enhancements as described in [Security features in the CRT](../security-features-in-the-crt.md).
16
15
16
+
For the `t_*` function variants, see [Generic-text routine mappings](#generic-text-routine-mappings).
Creates, modifies, or removes environment variables. These functions are versions of [`_putenv`, `_wputenv`](putenv-wputenv.md) that have security enhancements, as described in [Security features in the CRT](../security-features-in-the-crt.md).
15
15
16
16
> [!IMPORTANT]
17
17
> This API cannot be used in applications that execute in the Windows Runtime. For more information, see [CRT functions not supported in Universal Windows Platform apps](../../cppcx/crt-functions-not-supported-in-universal-windows-platform-apps.md).
18
18
19
+
For the `t_*` function variants, see [Generic-text routine mappings](#generic-text-routine-mappings).
Copies characters of one string to another. These versions of [`strncpy`, `_strncpy_l`, `wcsncpy`, `_wcsncpy_l`, `_mbsncpy`, `_mbsncpy_l`](strncpy-strncpy-l-wcsncpy-wcsncpy-l-mbsncpy-mbsncpy-l.md) have security enhancements, as described in [Security features in the CRT](../security-features-in-the-crt.md).
16
15
17
16
> [!IMPORTANT]
18
17
> **`_mbsncpy_s`** and **`_mbsncpy_s_l`** cannot be used in applications that execute in the Windows Runtime. For more information, see [CRT functions not supported in Universal Windows Platform apps](../../cppcx/crt-functions-not-supported-in-universal-windows-platform-apps.md).
19
18
19
+
For the `_t_*` function variants, see [Generic-text routine mappings](#generic-text-routine-mappings).
20
+
20
21
## Syntax
21
22
22
23
```C
@@ -174,6 +175,10 @@ By default, this function's global state is scoped to the application. To change
> **`_strncpy_s_l`**, **`_wcsncpy_s_l`** and **`_mbsncpy_s_l`** have no locale dependence. They're provided just for `_tcsncpy_s_l` and aren't intended to be called directly.
Initializes characters of a string to a given character. These versions of [`_strnset`, `_strnset_l`, `_wcsnset`, `_wcsnset_l`, `_mbsnset`, `_mbsnset_l`](strnset-strnset-l-wcsnset-wcsnset-l-mbsnset-mbsnset-l.md) have security enhancements, as described in [Security features in the CRT](../security-features-in-the-crt.md).
16
15
17
16
> [!IMPORTANT]
18
17
> **`_mbsnset_s`** and **`_mbsnset_s_l`** cannot be used in applications that execute in the Windows Runtime. For more information, see [CRT functions not supported in Universal Windows Platform apps](../../cppcx/crt-functions-not-supported-in-universal-windows-platform-apps.md).
19
18
19
+
For the `_t*` function variants, see [Generic-text routine mappings](#generic-text-routine-mappings).
20
+
20
21
## Syntax
21
22
22
23
```C
@@ -92,26 +93,28 @@ These functions set, at most, the first *`count`* characters of *`str`* to *`c`*
92
93
93
94
The output value is affected by the setting of the `LC_CTYPE` category setting of the locale. For more information, see [`setlocale`](setlocale-wsetlocale.md). The versions of these functions without the `_l` suffix use the current locale for this locale-dependent behavior; the versions with the `_l` suffix are identical except that they use the locale parameter passed in instead. For more information, see [Locale](../locale.md).
94
95
95
-
The debug library versions of these functions first fill the buffer with 0xFE. To disable this behavior, use [`_CrtSetDebugFillThreshold`](crtsetdebugfillthreshold.md).
96
+
The debug library versions of these functions first fill the buffer with `0xFE`. To disable this behavior, use [`_CrtSetDebugFillThreshold`](crtsetdebugfillthreshold.md).
96
97
97
98
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).
98
99
99
100
### Generic-text routine mappings
100
101
101
-
| TCHAR.H routine |`_UNICODE` and `_MBCS` not defined |`_MBCS` defined |`_UNICODE` defined |
102
+
|`TCHAR.H` routine |`_UNICODE` and `_MBCS` not defined |`_MBCS` defined |`_UNICODE` defined |
0 commit comments