|
1 | 1 | ---
|
2 | 2 | title: "_CrtSetDebugFillThreshold"
|
3 | 3 | description: "Use the _CrtSetDebugFillThreshold function to set the maximum amount of buffer to fill in secure CRT functions."
|
4 |
| -ms.date: "10/31/2019" |
| 4 | +ms.date: 04/10/2025 |
5 | 5 | api_name: ["_CrtSetDebugFillThreshold"]
|
6 | 6 | api_location: ["msvcrt.dll", "msvcr80.dll", "msvcr90.dll", "msvcr100.dll", "msvcr100_clr0400.dll", "msvcr110.dll", "msvcr110_clr0400.dll", "msvcr120.dll", "msvcr120_clr0400.dll", "ucrtbase.dll"]
|
7 | 7 | api_type: ["DLLExport"]
|
8 | 8 | topic_type: ["apiref"]
|
9 | 9 | f1_keywords: ["_CrtSetDebugFillThreshold", "CrtSetDebugFillThreshold"]
|
10 | 10 | helpviewer_keywords: ["debug, buffer-filling behavior", "CrtSetDebugFillThreshold function", "_CrtSetDebugFillThreshold function", "buffer-filling behavior", "0xFE"]
|
11 |
| -ms.assetid: 6cb360e8-56ae-4248-b17f-e28aee3e0ed7 |
12 | 11 | ---
|
13 | 12 | # `_CrtSetDebugFillThreshold`
|
14 | 13 |
|
@@ -38,58 +37,36 @@ The default threshold is `SIZE_T_MAX`.
|
38 | 37 | Here's a list of the affected functions:
|
39 | 38 |
|
40 | 39 | - [`asctime_s`, `_wasctime_s`](asctime-s-wasctime-s.md)
|
41 |
| -
|
42 | 40 | - [`_cgets_s`, `_cgetws_s`](cgets-s-cgetws-s.md)
|
43 |
| -
|
44 | 41 | - [`ctime_s`, `_ctime32_s`, `_ctime64_s`, `_wctime_s`, `_wctime32_s`, `_wctime64_s`](ctime-s-ctime32-s-ctime64-s-wctime-s-wctime32-s-wctime64-s.md)
|
45 |
| -
|
46 | 42 | - [`_ecvt_s`](ecvt-s.md)
|
47 |
| -
|
48 | 43 | - [`_fcvt_s`](fcvt-s.md)
|
49 |
| -
|
50 | 44 | - [`_gcvt_s`](gcvt-s.md)
|
51 |
| -
|
52 | 45 | - [`_itoa_s`, `_ltoa_s`, `_ultoa_s`, `_i64toa_s`, `_ui64toa_s`, `_itow_s`, `_ltow_s`, `_ultow_s`, `_i64tow_s`, `_ui64tow_s`](itoa-s-itow-s.md)
|
53 |
| -
|
54 | 46 | - [`_makepath_s`, `_wmakepath_s`](makepath-s-wmakepath-s.md)
|
55 |
| -
|
56 | 47 | - [`_mbsnbcat_s`, `_mbsnbcat_s_l`](mbsnbcat-s-mbsnbcat-s-l.md)
|
57 |
| -
|
58 | 48 | - [`_mbsnbcpy_s`, `_mbsnbcpy_s_l`](mbsnbcpy-s-mbsnbcpy-s-l.md)
|
59 |
| -
|
60 | 49 | - [`_mbsnbset_s`, `_mbsnbset_s_l`](mbsnbset-s-mbsnbset-s-l.md)
|
61 |
| -
|
62 | 50 | - [`_mktemp_s`, `_wmktemp_s`](makepath-s-wmakepath-s.md)
|
63 |
| -
|
64 | 51 | - [`_splitpath_s`, `_wsplitpath_s`](splitpath-s-wsplitpath-s.md)
|
65 |
| -
|
66 | 52 | - [`strcat_s`, `wcscat_s`, `_mbscat_s`](strcat-s-wcscat-s-mbscat-s.md)
|
67 |
| -
|
68 | 53 | - [`strcpy_s`, `wcscpy_s`, `_mbscpy_s`](strcpy-s-wcscpy-s-mbscpy-s.md)
|
69 |
| -
|
70 | 54 | - [`_strdate_s`, `_wstrdate_s`](strdate-s-wstrdate-s.md)
|
71 |
| -
|
72 | 55 | - [`strerror_s`, `_strerror_s`, `_wcserror_s`, `__wcserror_s`](strerror-s-strerror-s-wcserror-s-wcserror-s.md)
|
73 |
| -
|
74 | 56 | - [`_strlwr_s`, `_strlwr_s_l`, `_mbslwr_s`, `_mbslwr_s_l`, `_wcslwr_s`, `_wcslwr_s_l`](strlwr-s-strlwr-s-l-mbslwr-s-mbslwr-s-l-wcslwr-s-wcslwr-s-l.md)
|
75 |
| -
|
76 | 57 | - [`strncat_s`, `_strncat_s_l`, `wcsncat_s`, `_wcsncat_s_l`, `_mbsncat_s`, `_mbsncat_s_l`](strncat-s-strncat-s-l-wcsncat-s-wcsncat-s-l-mbsncat-s-mbsncat-s-l.md)
|
77 |
| -
|
78 | 58 | - [`strncpy_s`, `_strncpy_s_l`, `wcsncpy_s`, `_wcsncpy_s_l`, `_mbsncpy_s`, `_mbsncpy_s_l`](strncpy-s-strncpy-s-l-wcsncpy-s-wcsncpy-s-l-mbsncpy-s-mbsncpy-s-l.md)
|
79 |
| -
|
80 | 59 | - [`_strnset_s`, `_strnset_s_l`, `_wcsnset_s`, `_wcsnset_s_l`, `_mbsnset_s`, `_mbsnset_s_l`](strnset-s-strnset-s-l-wcsnset-s-wcsnset-s-l-mbsnset-s-mbsnset-s-l.md)
|
81 |
| -
|
82 | 60 | - [`_strset_s`, `_strset_s_l`, `_wcsset_s`, `_wcsset_s_l`, `_mbsset_s`, `_mbsset_s_l`](strset-s-strset-s-l-wcsset-s-wcsset-s-l-mbsset-s-mbsset-s-l.md)
|
83 |
| -
|
84 | 61 | - [`_strtime_s`, `_wstrtime_s`](strtime-s-wstrtime-s.md)
|
85 |
| -
|
86 | 62 | - [`_strupr_s`, `_strupr_s_l`, `_mbsupr_s`, `_mbsupr_s_l`, `_wcsupr_s`, `_wcsupr_s_l`](strupr-s-strupr-s-l-mbsupr-s-mbsupr-s-l-wcsupr-s-wcsupr-s-l.md)
|
87 |
| -
|
| 63 | +- [`vsnprintf_s`, `_vsnprintf_s`, `_vsnprintf_s_l`, `_vsnwprintf_s`, _vsnwpr`intf_s_l](vsnprintf-s-vsnprintf-s-vsnprintf-s-l-vsnwprintf-s-vsnwprintf-s-l.md) |
| 64 | + |
88 | 65 | ## Requirements
|
89 | 66 |
|
90 | 67 | | Routine | Required header |
|
91 | 68 | |---|---|
|
92 |
| -| **`_CrtSetDebugFillThreshold`** | \<crtdbg.h> | |
| 69 | +| **`_CrtSetDebugFillThreshold`** | `<crtdbg.h>` | |
93 | 70 |
|
94 | 71 | This function is Microsoft-specific. For more compatibility information, see [Compatibility](../compatibility.md).
|
95 | 72 |
|
|
0 commit comments