[libc-commits] [libc] [libc] wchar string conversion functions mb to wc (PR #149423)

Michael Jones via libc-commits libc-commits at lists.llvm.org
Tue Jul 22 10:05:36 PDT 2025


================
@@ -53,6 +53,33 @@ functions:
       - type: wchar_t *__restrict
       - type: const char *__restrict
       - type: size_t
+  - name: mbstowcs
+    standards:
+      - stdc
+    return_type: size_t
+    arguments:
+      - type: wchar_t *__restrict
+      - type: const char *__restrict
+      - type: size_t
+  - name: mbsrtowcs
+    standards:
+      - stdc
+    return_type: size_t
+    arguments:
+      - type: wchar_t *__restrict
+      - type: const char **__restrict
+      - type: size_t
+      - type: mbstate_t *__restrict
+  - name: mbsnrtowcs
+    standards:
+      - stdc
+    return_type: size_t
+    arguments:
+      - type: wchar_t *__restrict
+      - type: const char **__restrict
+      - type: size_t
+      - type: size_t
+      - type: mbstate_t *__restrict
----------------
michaelrj-google wrote:

these should be in alphabetical order

https://github.com/llvm/llvm-project/pull/149423


More information about the libc-commits mailing list