<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/141857>141857</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            [libc] implement wmemcmp
        </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 454): https://www.open-std.org/jtc1/sc22/wg14/www/docs/n3220.pdf#page=454

wmemcmp compares the first n wide chars.

Here's a checklist for what you'll need to do for this:
- [ ] Add the implementation of `wmemcmp` in [`/src/wchar`](https://github.com/llvm/llvm-project/tree/main/libc/src/wchar)
- [ ] Add tests for `wmemcmp` in [`/test/src/wchar`](https://github.com/llvm/llvm-project/tree/main/libc/test/src/wchar)
- [ ] Add `wmemcmp` 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 `wmemcmp` 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/eJy0lM2OozoQhZ_GbKwgUxgCCxbpG6G7vi9wZewC3GNsZJuk8_Yjk7Ra_TPSzGhGihSBi6rvHNtHhKAni9iR6olU50xscXa-W7ScBRr_fJicmwxmg1O37oxBej2gotrSf6CkBJpVTEh5xQm0pDzROcY1kPJEoCfQX6_X3K1oDyGq3PmJQP8cZUGgDxIgFUwFv9cR6JWTgUBvSwCWr2okUKbupDyn_uxE2Om64CKXlUq3rMJjoHFGOmofIrX0qhVSOQsf8nv1v-iRwDFQQeWM8pvRIdLReXqdRaQ3txE4GkMtoqLRUeX2xTjrXQE7HSipniipzvSk1D5KL6vBBW0UUTtL3UhJzR5QpGbJl2RkzZJEL5O0BJReVGcCzXt7Jh3nbcilWwj0xlxe_w6rd88oI4E-ekQC_SK0TYt6kB86Q_sZFEMMu5Qfw6Wav8r4xYAvUN8DRvcARBv9bXXaxpDHl_j7aINxwyc06eyop_3Zbi8E-pem_r9O5_DjXGh3G0WkBkWI9F5IhVX7EcIL-scx8kiHTRul7USd_Vmd2kqzKXx1KL-JxfxhsV-O2Hci_aD5DwP6C6pdaFhR6lFL-hoLBNpMdaVqy1Zk2BVH3vC6Lkuezd3AWsUYcD6OlayrIxSi4UWreDvIsWzaTHfAoGIVNFCwquR5U0NZc9kea84r2TDCGS5CmzwJSfmQ6RA27ApeNNUxM2JAE_ZkArjLgZRRvtuFD9sUCGfpUoe3DlFHs6fZ_kF1fruy9LED2eZN98vm7mQpnh5wlw6-BwAA__-6WKUG">