<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/141636>141636</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[libc] Implement wmemset
</td>
</tr>
<tr>
<th>Labels</th>
<td>
libc
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
michaelrj-google
</td>
</tr>
</table>
<pre>
Described in C23 (page 458): https://www.open-std.org/jtc1/sc22/wg14/www/docs/n3220.pdf#page=458
wmemset sets an array of widechars to a specific value.
Here's a checklist for what you'll need to do for this:
- [ ] Add the implementation of `wmemset` in [`/src/wchar`](https://github.com/llvm/llvm-project/tree/main/libc/src/wchar)
- [ ] Add tests for `wmemset` in [`/test/src/wchar`](https://github.com/llvm/llvm-project/tree/main/libc/test/src/wchar)
- [ ] Add `wmemset` to [`entrypoints.txt`](https://github.com/llvm/llvm-project/blob/main/libc/config/linux/x86_64/entrypoints.txt) for at least x86_64 and whatever you're building on
- [ ] Add `wmemset` to [`include/wchar.yaml`](https://github.com/llvm/llvm-project/blob/main/libc/include/wchar.yaml)
(Reserved for specific assignee)
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJy0lN2O5CYQhZ8G35TGwuX_C1_0pmUlt3mBCEPZZoLBAtw9_fYRnp5EuzuRkigrWbJsiuI7BzgiBL1YooHVX1h9zcQRV-eHTctVkPGvL4tzi6FscuoxXClIrydSoC38hCUw7HaxEFR1x7Bn5QXWGPfAygvDkeF4v99zt5N9CVHlzi8Mx9coC4ZjkIipYCmq9zqGo3IyMBxticjzXc0My9SdldfUn18Yv9w32gJFCBQDCAvCe_EAN8NdK5Kr8AGiAwFhJ6lnLeEmzEH5--SfyRPDNoAAuZL83egQYXYe7quI8HAHw9YYsEQqdVHuHIyrPgXxywuw-guw-goXpSCuBHrbDW1ko4ja2cTBGv5kZA1PNiVfG54Ue5mUJsj0o74y7L52a9FxPaZcuo3haMzt4_Wye_dKMjIcoydiOG5C2zSoJ_lNZ-y_B6UQwynl7-FSzQ9l_GSBT1C_BozuCUg2-sfutI0hj2_xv6NNxk3foUlnZ72c3_Z4Yzi-dc1vTTqW366L_WmjiGBIhAjvhSCsOo8Q3cg_j5EnmA5tlLYLOPtPdWorzaHow6H8ITbzP4v9dIlzJ9KD3a8UyN9InUL_vEUfKcGwz9RQqr7sRUZD0VZd2TRtwbN1wLnhbTlhy-duUp1SspyI91OHVBW8rjI9IMea19gWLdYFz7EUvZAz9rIWDRGxitMmtMmTkBQXmQ7hoKGoiqZsMiMmMuEMKsR3OZgiyw-n8OlYAqt4utThrw5RR3OG2zmhvsIvH1cWnjuQHd4M_9rckyyl1RPuNuAfAQAA__8l8qw5">