##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# wmemset

From cppreference.com
< c‎ | string‎ | wide

Defined in header `<wchar.h>` |  |
wchar_t* wmemset( wchar_t* dest, wchar_t ch, size_t count ); |  |

Copies wide character `ch` into each of the first `count` wide characters of the object pointed to by `dest`.

### [edit] Parameters

dest | - | pointer to the object to fill
ch | - | fill byte
count | - | number of bytes to fill

### [edit] Return value

`dest`

### [edit] Example

| This section is incomplete Reason: no example

### [edit] See also

wmemcpy | copies a certain amount of wide characters between two non-overlapping arrays (function) [edit]
C++ documentation for wmemset

Retrieved from "http://en.cppreference.com/mwiki/index.php?title=c/string/wide/wmemset&oldid=56882"
Category:

- Todo no example