[libc-commits] [libc] cb981cc - [libc] added btowc to wchar.h generated header (#124168)
via libc-commits
libc-commits at lists.llvm.org
Thu Jan 23 11:25:19 PST 2025
Author: Alex Prabhat Bara
Date: 2025-01-23T11:25:14-08:00
New Revision: cb981cc540ba7e16f973e925a80b5bcb337381cc
URL: https://github.com/llvm/llvm-project/commit/cb981cc540ba7e16f973e925a80b5bcb337381cc
DIFF: https://github.com/llvm/llvm-project/commit/cb981cc540ba7e16f973e925a80b5bcb337381cc.diff
LOG: [libc] added btowc to wchar.h generated header (#124168)
Fixes: #124152
Added:
Modified:
libc/include/wchar.yaml
Removed:
################################################################################
diff --git a/libc/include/wchar.yaml b/libc/include/wchar.yaml
index 27a5926b574554..159237c7b4ff7c 100644
--- a/libc/include/wchar.yaml
+++ b/libc/include/wchar.yaml
@@ -15,3 +15,9 @@ functions:
return_type: int
arguments:
- type: wint_t
+ - name: btowc
+ standards:
+ - stdc
+ return_type: wint_t
+ arguments:
+ - type: int
More information about the libc-commits
mailing list