Skip to content

Commit ae6b7d9

Browse files
Taojunshenesweet431opbld16Colin Robertsonopbld17
authored
11/30/2021 AM Publish (#3947)
* Add gray border * LinkFix: cpp-docs-pr (2021-11) * Clarify C4146 per VCSig list (#3923) * Clarify C4146 per VCSig list * Fix link issues. * Update enable CMake Presets * fix rel links * fix github 3528 * acrolinx * change order of example * Add version info to NMAKE macro functions * Bulk fix entity `&amp;` part 3 * threshhold test * Eliminate even more `&amp;` entities * Minimum Viable Phix * Once more into the `&amp;` breech * Add Visual Studio 2022 Platform Toolset Version * Add /fpcvt compiler option docs (#3886) * Add /fpcvt compiler option docs * Fix copypasta error * Update fp conversion intrinsics, too. * Replace deleted table row * Acrolinx pass * Fix TOC issues * Add useful links to intrinsics * Updates per John Morgan, plus acrolink * Update version info * Clean up rvalue reference article * Fix to `/fpcvt` per John Morgan email * Reformat WeakRef class document. * Minimizing entity form of & (#3916) * Initial pass minimizing on &gt; entities (#3919) * Initial pass on &gt; entities * Fix everything. * Try without `&lt;` entities in title/desc * Clean up pass * Update docs/atl-mfc-shared/reference/cfiletime-class.md Co-authored-by: Tracey Torble <[email protected]> * github fix 3544 * GITHUB FIX FOR #3549 Co-authored-by: Erika <[email protected]> Co-authored-by: opbld16 <[email protected]> Co-authored-by: Colin Robertson <[email protected]> Co-authored-by: opbld17 <[email protected]> Co-authored-by: Christopher McClister <[email protected]> Co-authored-by: PRMerger16 <[email protected]> Co-authored-by: Laura Brenner <[email protected]> Co-authored-by: opbld15 <[email protected]> Co-authored-by: TylerMSFT <[email protected]> Co-authored-by: PRMerger18 <[email protected]> Co-authored-by: PRMerger4 <[email protected]> Co-authored-by: PRMerger6 <[email protected]> Co-authored-by: MohammadHadi Attarieh <[email protected]> Co-authored-by: PRMerger15 <[email protected]> Co-authored-by: PRMerger10 <[email protected]> Co-authored-by: Haig MacGregor <[email protected]> Co-authored-by: Tracey Torble <[email protected]>
1 parent 0794324 commit ae6b7d9

File tree

2 files changed

+14
-16
lines changed

2 files changed

+14
-16
lines changed

docs/c-runtime-library/reference/memset-wmemset.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "memset, wmemset"
33
description: "Learn more about: memset, wmemset"
4-
ms.date: "1/15/2021"
4+
ms.date: "11/29/2021"
55
api_name: ["wmemset", "memset", "_o_memset"]
66
api_location: ["msvcrt.dll", "msvcr80.dll", "msvcr90.dll", "msvcr100.dll", "msvcr100_clr0400.dll", "msvcr110.dll", "msvcr110_clr0400.dll", "msvcr120.dll", "msvcr120_clr0400.dll", "ntdll.dll", "ucrtbase.dll", "api-ms-win-crt-string-l1-1-0.dll", "ntoskrnl.exe", "api-ms-win-crt-private-l1-1-0.dll"]
77
api_type: ["DLLExport"]
@@ -11,7 +11,7 @@ helpviewer_keywords: ["wmemset function", "memset function"]
1111
---
1212
# `memset`, `wmemset`
1313

14-
Sets buffers to a specified character.
14+
Sets a buffer to a specified character.
1515

1616
## Syntax
1717

@@ -108,7 +108,7 @@ int main( void )
108108
wchar_t buffer[] = L"This is a test of the wmemset function";
109109

110110
wprintf( L"Before: %s\n", buffer );
111-
wmemset( buffer, '*', 4 );
111+
wmemset( buffer, L'*', 4 );
112112
wprintf( L"After: %s\n", buffer );
113113
}
114114
```
Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
---
2-
description: "Learn more about: wbuffer_convert Class"
3-
title: "wbuffer_convert Class"
4-
ms.date: "11/04/2016"
2+
description: "Learn more about: wbuffer_convert class"
3+
title: "wbuffer_convert class"
4+
ms.date: "11/29/2021"
55
f1_keywords: ["xlocmon/stdext::cvt::wbuffer_convert"]
66
helpviewer_keywords: ["wbuffer_convert class"]
7-
ms.assetid: 4a56f9bf-4138-4612-b516-525fea401358
87
---
9-
# wbuffer_convert Class
8+
# `wbuffer_convert` class
109

1110
Describes a stream buffer that controls the transmission of elements to and from a byte stream buffer.
1211

@@ -20,14 +19,14 @@ class wbuffer_convert
2019
2120
### Parameters
2221
23-
*Codecvt*\
24-
The [locale](../standard-library/locale-class.md) facet that represents the conversion object.
22+
*`Codecvt`*\
23+
The [`locale`](../standard-library/locale-class.md) facet that represents the conversion object.
2524
26-
*Elem*\
25+
*`Elem`*\
2726
The wide-character element type.
2827
29-
*Traits*\
30-
The traits associated with *Elem*.
28+
*`Traits`*\
29+
The traits associated with *`Elem`*.
3130
3231
## Remarks
3332
@@ -37,6 +36,5 @@ Conversion between a sequence of `Elem` values and multibyte sequences is perfor
3736
3837
An object of this class template stores:
3938
40-
- A pointer to its underlying byte stream buffer
41-
42-
- A pointer to the allocated conversion object (which is freed when the [wbuffer_convert](../standard-library/wbuffer-convert-class.md)
39+
- A pointer to its underlying byte stream buffer.\
40+
- A pointer to an allocated conversion facet object, which is freed when the `wbuffer_convert`is destroyed.

0 commit comments

Comments
 (0)