[libc-commits] [libc] [libc] Implement wcs to mbs family of functions (PR #149421)
Michael Jones via libc-commits
libc-commits at lists.llvm.org
Tue Jul 22 09:48:14 PDT 2025
================
@@ -274,3 +274,31 @@ functions:
- type: const wchar_t *__restrict
- type: wchar_t **__restrict
- type: int
+ - name: wcstombs
+ standards:
+ - stdc
+ return_type: size_t
+ arguments:
+ - type: char *__restrict
+ - type: const wchar_t *__restrict
+ - type: size_t
+ - name: wcsrtombs
+ standards:
+ - stdc
+ return_type: size_t
+ arguments:
+ - type: char *__restrict
+ - type: const wchar_t **__restrict
+ - type: size_t
+ - type: mbstate_t
+ - name: wcsnrtombs
+ standards:
+ - stdc
+ return_type: size_t
+ arguments:
+ - type: char *__restrict
+ - type: const wchar_t **__restrict
+ - type: size_t
+ - type: size_t
+ - type: mbstate_t
----------------
michaelrj-google wrote:
nit: these should be in alphabetical order
https://github.com/llvm/llvm-project/pull/149421
More information about the libc-commits
mailing list