Skip to content

Commit 9706f33

Browse files
authored
Merge pull request MicrosoftDocs#4602 from corob-msft/bulk-fix-crt-acrolinx-13
Bulk Fix: Code escape CRT function links
2 parents 0e22fd6 + 9a8e757 commit 9706f33

File tree

684 files changed

+2948
-2948
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

684 files changed

+2948
-2948
lines changed

docs/c-runtime-library/argument-access.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ The **va_arg**, **va_end**, and **va_start** macros provide access to function a
1414

1515
|Macro|Use|
1616
|-----------|-------------------------------|
17-
|[va_arg](./reference/va-arg-va-copy-va-end-va-start.md)|Retrieve argument from list|
18-
|[va_end](./reference/va-arg-va-copy-va-end-va-start.md)|Reset pointer|
19-
|[va_start](./reference/va-arg-va-copy-va-end-va-start.md)|Set pointer to beginning of argument list|
17+
|[`va_arg`](./reference/va-arg-va-copy-va-end-va-start.md)|Retrieve argument from list|
18+
|[`va_end`](./reference/va-arg-va-copy-va-end-va-start.md)|Reset pointer|
19+
|[`va_start`](./reference/va-arg-va-copy-va-end-va-start.md)|Set pointer to beginning of argument list|
2020

2121
## See also
2222

docs/c-runtime-library/buffer-manipulation.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ Use these routines to work with areas of memory on a byte-by-byte basis.
1313

1414
|Routine|Use|
1515
|-------------|---------|
16-
|[_memccpy](./reference/memccpy.md)|Copy characters from one buffer to another until given character or given number of characters has been copied|
17-
|[memchr, wmemchr](./reference/memchr-wmemchr.md)|Return pointer to first occurrence, within specified number of characters, of given character in buffer|
18-
|[memcmp, wmemcmp](./reference/memcmp-wmemcmp.md)|Compare specified number of characters from two buffers|
19-
|[memcpy, wmemcpy](./reference/memcpy-wmemcpy.md), [memcpy_s, wmemcpy_s](./reference/memcpy-s-wmemcpy-s.md)|Copy specified number of characters from one buffer to another|
20-
|[_memicmp, _memicmp_l](./reference/memicmp-memicmp-l.md)|Compare specified number of characters from two buffers without regard to case|
21-
|[memmove, wmemmove](./reference/memmove-wmemmove.md),[memmove_s, wmemmove_s](./reference/memmove-s-wmemmove-s.md)|Copy specified number of characters from one buffer to another|
22-
|[memset, wmemset](./reference/memset-wmemset.md)|Use given character to initialize specified number of bytes in the buffer|
23-
|[_swab](./reference/swab.md)|Swap bytes of data and store them at specified location|
16+
|[`_memccpy`](./reference/memccpy.md)|Copy characters from one buffer to another until given character or given number of characters has been copied|
17+
|[`memchr`, `wmemchr`](./reference/memchr-wmemchr.md)|Return pointer to first occurrence, within specified number of characters, of given character in buffer|
18+
|[`memcmp`, `wmemcmp`](./reference/memcmp-wmemcmp.md)|Compare specified number of characters from two buffers|
19+
|[`memcpy`, `wmemcpy`](./reference/memcpy-wmemcpy.md), [`memcpy_s`, `wmemcpy_s`](./reference/memcpy-s-wmemcpy-s.md)|Copy specified number of characters from one buffer to another|
20+
|[`_memicmp`, `_memicmp_l`](./reference/memicmp-memicmp-l.md)|Compare specified number of characters from two buffers without regard to case|
21+
|[`memmove`, `wmemmove`](./reference/memmove-wmemmove.md),[`memmove_s`, `wmemmove_s`](./reference/memmove-s-wmemmove-s.md)|Copy specified number of characters from one buffer to another|
22+
|[`memset`, `wmemset`](./reference/memset-wmemset.md)|Use given character to initialize specified number of bytes in the buffer|
23+
|[`_swab`](./reference/swab.md)|Swap bytes of data and store them at specified location|
2424

2525
When the source and target areas overlap, only **memmove** is guaranteed to copy the full source properly.
2626

docs/c-runtime-library/bufsiz.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ ms.assetid: 94ac04a3-d154-476b-bd89-eefbc7b949ae
1616

1717
## Remarks
1818

19-
`BUFSIZ` is the required user-allocated buffer for the [setvbuf](./reference/setvbuf.md) routine.
19+
`BUFSIZ` is the required user-allocated buffer for the [`setvbuf`](./reference/setvbuf.md) routine.
2020

2121
## See also
2222

docs/c-runtime-library/cgets-cgetws.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ ms.assetid: 4d5e134a-58c3-4f62-befd-5d235b0212f4
1212
---
1313
# _cgets, _cgetws
1414

15-
Gets a character string from the console. More secure versions of these functions are available; see [_cgets_s, _cgetws_s](./reference/cgets-s-cgetws-s.md).
15+
Gets a character string from the console. More secure versions of these functions are available; see [`_cgets_s`, `_cgetws_s`](./reference/cgets-s-cgetws-s.md).
1616

1717
> [!IMPORTANT]
18-
> These functions are obsolete. Beginning in Visual Studio 2015, they are not available in the CRT. The secure versions of these functions, _cgets_s and _cgetws_s, are still available. For information on these alternative functions, see [_cgets_s, _cgetws_s](./reference/cgets-s-cgetws-s.md).
18+
> These functions are obsolete. Beginning in Visual Studio 2015, they are not available in the CRT. The secure versions of these functions, _cgets_s and _cgetws_s, are still available. For information on these alternative functions, see [`_cgets_s`, `_cgetws_s`](./reference/cgets-s-cgetws-s.md).
1919
2020
> [!IMPORTANT]
2121
> 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).

docs/c-runtime-library/character-classification.md

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -23,31 +23,31 @@ if ((c >= 'A') && (c <= 'Z')) || ((c >= 'a') && (c <= 'z'))
2323

2424
|Routine|Character test condition|
2525
|-------------|------------------------------|
26-
|[isalnum, iswalnum, _isalnum_l, _iswalnum_l](./reference/isalnum-iswalnum-isalnum-l-iswalnum-l.md), [_ismbcalnum, _ismbcalnum_l, _ismbcalpha, _ismbcalpha_l, _ismbcdigit, _ismbcdigit_l](./reference/ismbcalnum-functions.md)|Alphanumeric|
27-
|[_ismbcalnum, _ismbcalnum_l, _ismbcalpha, _ismbcalpha_l, _ismbcdigit, _ismbcdigit_l](./reference/ismbcalnum-functions.md)|Multibyte alphanumeric|
28-
|[isalpha, iswalpha, _isalpha_l, _iswalpha_l](./reference/isalpha-iswalpha-isalpha-l-iswalpha-l.md), [_ismbcalnum, _ismbcalnum_l, _ismbcalpha, _ismbcalpha_l, _ismbcdigit, _ismbcdigit_l](./reference/ismbcalnum-functions.md)|Alphabetic|
29-
|[isascii, __isascii, iswascii](./reference/isascii-isascii-iswascii.md)|ASCII|
30-
|[isblank, iswblank, _isblank_l, _iswblank_l](./reference/isblank-iswblank-isblank-l-iswblank-l.md), [_ismbcsblank, _ismbcsblank_l](./reference/ismbcgraph-functions.md)|Blank (space or horizontal tab)|
31-
|[iscntrl, iswcntrl, _iscntrl_l, _iswcntrl_l](./reference/iscntrl-iswcntrl-iscntrl-l-iswcntrl-l.md)|Control|
32-
|[iscsym, iscsymf, __iscsym, \__iswcsym, \__iscsymf, \__iswcsymf, _iscsym_l, _iswcsym_l, _iscsymf_l, _iswcsymf_l](./reference/iscsym-functions.md)|Letter, underscore, or digit|
33-
|[iscsym, iscsymf, __iscsym, \__iswcsym, \__iscsymf, \__iswcsymf, _iscsym_l, _iswcsym_l, _iscsymf_l, _iswcsymf_l](./reference/iscsym-functions.md)|Letter or underscore|
34-
|[isdigit, iswdigit, _isdigit_l, _iswdigit_l](./reference/isdigit-iswdigit-isdigit-l-iswdigit-l.md), [_ismbcalnum, _ismbcalnum_l, _ismbcalpha, _ismbcalpha_l, _ismbcdigit, _ismbcdigit_l](./reference/ismbcalnum-functions.md)|Decimal digit|
35-
|[isgraph, iswgraph, _isgraph_l, _iswgraph_l](./reference/isgraph-iswgraph-isgraph-l-iswgraph-l.md), [_ismbcgraph, _ismbcgraph_l, _ismbcprint, _ismbcprint_l, _ismbcpunct, _ismbcpunct_l, _ismbcblank, _ismbcblank_l, _ismbcspace, _ismbcspace_l](./reference/ismbcgraph-functions.md)|Printable other than space|
36-
|[islower, iswlower, _islower_l, _iswlower_l](./reference/islower-iswlower-islower-l-iswlower-l.md), [_ismbclower, _ismbclower_l, _ismbcupper, _ismbcupper_l](./reference/ismbclower-ismbclower-l-ismbcupper-ismbcupper-l.md)|Lowercase|
37-
|[_ismbchira, _ismbchira_l, _ismbckata, _ismbckata_l](./reference/ismbchira-ismbchira-l-ismbckata-ismbckata-l.md)|Hiragana|
38-
|[_ismbchira, _ismbchira_l, _ismbckata, _ismbckata_l](./reference/ismbchira-ismbchira-l-ismbckata-ismbckata-l.md)|Katakana|
39-
|[_ismbclegal, _ismbclegal_l, _ismbcsymbol, _ismbcsymbol_l](./reference/ismbclegal-ismbclegal-l-ismbcsymbol-ismbcsymbol-l.md)|Legal multibyte character|
40-
|[_ismbcl0, _ismbcl0_l, _ismbcl1, _ismbcl1_l, _ismbcl2, _ismbcl2_l](./reference/ismbcl0-ismbcl0-l-ismbcl1-ismbcl1-l-ismbcl2-ismbcl2-l.md)|Japan-level 0 multibyte character|
41-
|[_ismbcl0, _ismbcl0_l, _ismbcl1, _ismbcl1_l, _ismbcl2, _ismbcl2_l](./reference/ismbcl0-ismbcl0-l-ismbcl1-ismbcl1-l-ismbcl2-ismbcl2-l.md)|Japan-level 1 multibyte character|
42-
|[_ismbcl0, _ismbcl0_l, _ismbcl1, _ismbcl1_l, _ismbcl2, _ismbcl2_l](./reference/ismbcl0-ismbcl0-l-ismbcl1-ismbcl1-l-ismbcl2-ismbcl2-l.md)|Japan-level 2 multibyte character|
43-
|[_ismbclegal, _ismbclegal_l, _ismbcsymbol, _ismbcsymbol_l](./reference/ismbclegal-ismbclegal-l-ismbcsymbol-ismbcsymbol-l.md)|Non-alphanumeric multibyte character|
44-
|[isprint, iswprint, _isprint_l, _iswprint_l](./reference/isprint-iswprint-isprint-l-iswprint-l.md), [_ismbcgraph, _ismbcgraph_l, _ismbcprint, _ismbcprint_l, _ismbcpunct, _ismbcpunct_l, _ismbcblank, _ismbcblank_l, _ismbcspace, _ismbcspace_l](./reference/ismbcgraph-functions.md)|Printable|
45-
|[ispunct, iswpunct, _ispunct_l, _iswpunct_l](./reference/ispunct-iswpunct-ispunct-l-iswpunct-l.md), [_ismbcgraph, _ismbcgraph_l, _ismbcprint, _ismbcprint_l, _ismbcpunct, _ismbcpunct_l, _ismbcblank, _ismbcblank_l, _ismbcspace, _ismbcspace_l](./reference/ismbcgraph-functions.md)|Punctuation|
46-
|[isspace, iswspace, _isspace_l, _iswspace_l](./reference/isspace-iswspace-isspace-l-iswspace-l.md), [_ismbcgraph, _ismbcgraph_l, _ismbcprint, _ismbcprint_l, _ismbcpunct, _ismbcpunct_l, _ismbcblank, _ismbcblank_l, _ismbcspace, _ismbcspace_l](./reference/ismbcgraph-functions.md)|White-space|
47-
|[isupper, iswupper](./reference/isupper-isupper-l-iswupper-iswupper-l.md), [_ismbclower, _ismbclower_l, _ismbcupper, _ismbcupper_l](./reference/ismbclower-ismbclower-l-ismbcupper-ismbcupper-l.md)|Uppercase|
48-
|[_isctype, iswctype, _isctype_l, _iswctype_l](./reference/isctype-iswctype-isctype-l-iswctype-l.md)|Property specified by *desc* argument|
49-
|[isxdigit, iswxdigit, _isxdigit_l, _iswxdigit_l](./reference/isxdigit-iswxdigit-isxdigit-l-iswxdigit-l.md)|Hexadecimal digit|
50-
|[_mbclen, mblen, _mblen_l](./reference/mbclen-mblen-mblen-l.md)|Return length of valid multibyte character; result depends on **LC_CTYPE** category setting of current locale|
26+
|[`isalnum`, `iswalnum`, `_isalnum_l`, `_iswalnum_l`](./reference/isalnum-iswalnum-isalnum-l-iswalnum-l.md), [`_ismbcalnum`, `_ismbcalnum_l`, `_ismbcalpha`, `_ismbcalpha_l`, `_ismbcdigit`, `_ismbcdigit_l`](./reference/ismbcalnum-functions.md)|Alphanumeric|
27+
|[`_ismbcalnum`, `_ismbcalnum_l`, `_ismbcalpha`, `_ismbcalpha_l`, `_ismbcdigit`, `_ismbcdigit_l`](./reference/ismbcalnum-functions.md)|Multibyte alphanumeric|
28+
|[`isalpha`, `iswalpha`, `_isalpha_l`, `_iswalpha_l`](./reference/isalpha-iswalpha-isalpha-l-iswalpha-l.md), [`_ismbcalnum`, `_ismbcalnum_l`, `_ismbcalpha`, `_ismbcalpha_l`, `_ismbcdigit`, `_ismbcdigit_l`](./reference/ismbcalnum-functions.md)|Alphabetic|
29+
|[`isascii`, `__isascii`, `iswascii`](./reference/isascii-isascii-iswascii.md)|ASCII|
30+
|[`isblank`, `iswblank`, `_isblank_l`, `_iswblank_l`](./reference/isblank-iswblank-isblank-l-iswblank-l.md), [`_ismbcsblank`, `_ismbcsblank_l`](./reference/ismbcgraph-functions.md)|Blank (space or horizontal tab)|
31+
|[`iscntrl`, `iswcntrl`, `_iscntrl_l`, `_iswcntrl_l`](./reference/iscntrl-iswcntrl-iscntrl-l-iswcntrl-l.md)|Control|
32+
|[`iscsym`, `iscsymf`, `__iscsym`, `__iswcsym`, `__iscsymf`, `__iswcsymf`, `_iscsym_l`, `_iswcsym_l`, `_iscsymf_l`, `_iswcsymf_l`](./reference/iscsym-functions.md)|Letter, underscore, or digit|
33+
|[`iscsym`, `iscsymf`, `__iscsym`, `__iswcsym`, `__iscsymf`, `__iswcsymf`, `_iscsym_l`, `_iswcsym_l`, `_iscsymf_l`, `_iswcsymf_l`](./reference/iscsym-functions.md)|Letter or underscore|
34+
|[`isdigit`, `iswdigit`, `_isdigit_l`, `_iswdigit_l`](./reference/isdigit-iswdigit-isdigit-l-iswdigit-l.md), [`_ismbcalnum`, `_ismbcalnum_l`, `_ismbcalpha`, `_ismbcalpha_l`, `_ismbcdigit`, `_ismbcdigit_l`](./reference/ismbcalnum-functions.md)|Decimal digit|
35+
|[`isgraph`, `iswgraph`, `_isgraph_l`, `_iswgraph_l`](./reference/isgraph-iswgraph-isgraph-l-iswgraph-l.md), [`_ismbcgraph`, `_ismbcgraph_l`, `_ismbcprint`, `_ismbcprint_l`, `_ismbcpunct`, `_ismbcpunct_l`, `_ismbcblank`, `_ismbcblank_l`, `_ismbcspace`, `_ismbcspace_l`](./reference/ismbcgraph-functions.md)|Printable other than space|
36+
|[`islower`, `iswlower`, `_islower_l`, `_iswlower_l`](./reference/islower-iswlower-islower-l-iswlower-l.md), [`_ismbclower`, `_ismbclower_l`, `_ismbcupper`, `_ismbcupper_l`](./reference/ismbclower-ismbclower-l-ismbcupper-ismbcupper-l.md)|Lowercase|
37+
|[`_ismbchira`, `_ismbchira_l`, `_ismbckata`, `_ismbckata_l`](./reference/ismbchira-ismbchira-l-ismbckata-ismbckata-l.md)|Hiragana|
38+
|[`_ismbchira`, `_ismbchira_l`, `_ismbckata`, `_ismbckata_l`](./reference/ismbchira-ismbchira-l-ismbckata-ismbckata-l.md)|Katakana|
39+
|[`_ismbclegal`, `_ismbclegal_l`, `_ismbcsymbol`, `_ismbcsymbol_l`](./reference/ismbclegal-ismbclegal-l-ismbcsymbol-ismbcsymbol-l.md)|Legal multibyte character|
40+
|[`_ismbcl0`, `_ismbcl0_l`, `_ismbcl1`, `_ismbcl1_l`, `_ismbcl2`, `_ismbcl2_l`](./reference/ismbcl0-ismbcl0-l-ismbcl1-ismbcl1-l-ismbcl2-ismbcl2-l.md)|Japan-level 0 multibyte character|
41+
|[`_ismbcl0`, `_ismbcl0_l`, `_ismbcl1`, `_ismbcl1_l`, `_ismbcl2`, `_ismbcl2_l`](./reference/ismbcl0-ismbcl0-l-ismbcl1-ismbcl1-l-ismbcl2-ismbcl2-l.md)|Japan-level 1 multibyte character|
42+
|[`_ismbcl0`, `_ismbcl0_l`, `_ismbcl1`, `_ismbcl1_l`, `_ismbcl2`, `_ismbcl2_l`](./reference/ismbcl0-ismbcl0-l-ismbcl1-ismbcl1-l-ismbcl2-ismbcl2-l.md)|Japan-level 2 multibyte character|
43+
|[`_ismbclegal`, `_ismbclegal_l`, `_ismbcsymbol`, `_ismbcsymbol_l`](./reference/ismbclegal-ismbclegal-l-ismbcsymbol-ismbcsymbol-l.md)|Non-alphanumeric multibyte character|
44+
|[`isprint`, `iswprint`, `_isprint_l`, `_iswprint_l`](./reference/isprint-iswprint-isprint-l-iswprint-l.md), [`_ismbcgraph`, `_ismbcgraph_l`, `_ismbcprint`, `_ismbcprint_l`, `_ismbcpunct`, `_ismbcpunct_l`, `_ismbcblank`, `_ismbcblank_l`, `_ismbcspace`, `_ismbcspace_l`](./reference/ismbcgraph-functions.md)|Printable|
45+
|[`ispunct`, `iswpunct`, `_ispunct_l`, `_iswpunct_l`](./reference/ispunct-iswpunct-ispunct-l-iswpunct-l.md), [`_ismbcgraph`, `_ismbcgraph_l`, `_ismbcprint`, `_ismbcprint_l`, `_ismbcpunct`, `_ismbcpunct_l`, `_ismbcblank`, `_ismbcblank_l`, `_ismbcspace`, `_ismbcspace_l`](./reference/ismbcgraph-functions.md)|Punctuation|
46+
|[`isspace`, `iswspace`, `_isspace_l`, `_iswspace_l`](./reference/isspace-iswspace-isspace-l-iswspace-l.md), [`_ismbcgraph`, `_ismbcgraph_l`, `_ismbcprint`, `_ismbcprint_l`, `_ismbcpunct`, `_ismbcpunct_l`, `_ismbcblank`, `_ismbcblank_l`, `_ismbcspace`, `_ismbcspace_l`](./reference/ismbcgraph-functions.md)|White-space|
47+
|[`isupper`, `iswupper`](./reference/isupper-isupper-l-iswupper-iswupper-l.md), [`_ismbclower`, `_ismbclower_l`, `_ismbcupper`, `_ismbcupper_l`](./reference/ismbclower-ismbclower-l-ismbcupper-ismbcupper-l.md)|Uppercase|
48+
|[`_isctype`, `iswctype`, `_isctype_l`, `_iswctype_l`](./reference/isctype-iswctype-isctype-l-iswctype-l.md)|Property specified by *desc* argument|
49+
|[`isxdigit`, `iswxdigit`, `_isxdigit_l`, `_iswxdigit_l`](./reference/isxdigit-iswxdigit-isxdigit-l-iswxdigit-l.md)|Hexadecimal digit|
50+
|[`_mbclen`, `mblen`, `_mblen_l`](./reference/mbclen-mblen-mblen-l.md)|Return length of valid multibyte character; result depends on **LC_CTYPE** category setting of current locale|
5151

5252
## See also
5353

docs/c-runtime-library/clocks-per-sec-clk-tck.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@ The time in seconds is the value returned by the `clock` function, divided by `C
2020

2121
## See also
2222

23-
[clock](./reference/clock.md)\
23+
[`clock`](./reference/clock.md)\
2424
[Global constants](./global-constants.md)

docs/c-runtime-library/code-pages.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ The Microsoft runtime library uses the following types of code pages:
2222

2323
also sets the locale to the system-default ANSI code page.
2424

25-
- Locale code page. The behavior of several run-time routines is dependent on the current locale setting, which includes the locale code page. (For more information, see [Locale](./locale.md).) By default, all locale-dependent routines in the Microsoft run-time library use the code page that corresponds to the "C" locale. At run time, you can change or query the locale code page in use with a call to [setlocale](./reference/setlocale-wsetlocale.md).
25+
- Locale code page. The behavior of several run-time routines is dependent on the current locale setting, which includes the locale code page. (For more information, see [Locale](./locale.md).) By default, all locale-dependent routines in the Microsoft run-time library use the code page that corresponds to the "C" locale. At run time, you can change or query the locale code page in use with a call to [`setlocale`](./reference/setlocale-wsetlocale.md).
2626

27-
- Multibyte code page. The behavior of most of the multibyte-character routines in the run-time library depends on the current multibyte code page setting. By default, these routines use the system-default ANSI code page. At run-time you can query and change the multibyte code page with [_getmbcp](./reference/getmbcp.md) and [_setmbcp](./reference/setmbcp.md), respectively.
27+
- Multibyte code page. The behavior of most of the multibyte-character routines in the run-time library depends on the current multibyte code page setting. By default, these routines use the system-default ANSI code page. At run-time you can query and change the multibyte code page with [`_getmbcp`](./reference/getmbcp.md) and [`_setmbcp`](./reference/setmbcp.md), respectively.
2828

2929
- The "C" locale is defined by ANSI to correspond to the locale in which C programs have traditionally executed. The code page for the "C" locale ("C" code page) corresponds to the ASCII character set. For example, in the "C" locale, **islower** returns true for the values 0x61 - 0x7A only. In another locale, **islower** may return `true` for these and other values, as defined by that locale.
3030

docs/c-runtime-library/commit-to-disk-constants.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ The commit-to-disk modes are as follows:
2424

2525
- **c**
2626

27-
Writes the unwritten contents of the specified buffer to disk. This commit-to-disk functionality only occurs at explicit calls to either the [fflush](./reference/fflush.md) or the [_flushall](./reference/flushall.md) function. This mode is useful when dealing with sensitive data. For example, if your program terminates after a call to `fflush` or `_flushall`, you can be sure that your data reached the operating system's buffers. However, unless a file is opened with the **c** option, the data might never make it to disk if the operating system also terminates.
27+
Writes the unwritten contents of the specified buffer to disk. This commit-to-disk functionality only occurs at explicit calls to either the [`fflush`](./reference/fflush.md) or the [`_flushall`](./reference/flushall.md) function. This mode is useful when dealing with sensitive data. For example, if your program terminates after a call to `fflush` or `_flushall`, you can be sure that your data reached the operating system's buffers. However, unless a file is opened with the **c** option, the data might never make it to disk if the operating system also terminates.
2828

2929
- **n**
3030

@@ -35,7 +35,7 @@ The commit-to-disk modes are as follows:
3535
3636
## Using the commit-to-disk feature with existing code
3737

38-
By default, calls to the [fflush](./reference/fflush.md) or [_flushall](./reference/flushall.md) library functions write data to buffers maintained by the operating system. The operating system determines the optimal time to actually write the data to disk. The commit-to-disk feature of the run-time library lets you ensure that critical data is written directly to disk rather than to the operating system's buffers. You can give this capability to an existing program without rewriting it by linking its object files with COMMODE.OBJ.
38+
By default, calls to the [`fflush`](./reference/fflush.md) or [`_flushall`](./reference/flushall.md) library functions write data to buffers maintained by the operating system. The operating system determines the optimal time to actually write the data to disk. The commit-to-disk feature of the run-time library lets you ensure that critical data is written directly to disk rather than to the operating system's buffers. You can give this capability to an existing program without rewriting it by linking its object files with COMMODE.OBJ.
3939

4040
In the resulting executable file, calls to `fflush` write the contents of the buffer directly to disk, and calls to `_flushall` write the contents of all buffers to disk. These two functions are the only ones affected by COMMODE.OBJ.
4141

@@ -44,6 +44,6 @@ In the resulting executable file, calls to `fflush` write the contents of the bu
4444
## See also
4545

4646
[Stream I/O](./stream-i-o.md)\
47-
[_fdopen, _wfdopen](./reference/fdopen-wfdopen.md)\
48-
[fopen, _wfopen](./reference/fopen-wfopen.md)\
47+
[`_fdopen`, `_wfdopen`](./reference/fdopen-wfdopen.md)\
48+
[`fopen`, `_wfopen`](./reference/fopen-wfopen.md)\
4949
[Global constants](./global-constants.md)

0 commit comments

Comments
 (0)