[libc-commits] [libc] [libc] Add stubs for 'langinfo.h' (PR #106620)
Michael Jones via libc-commits
libc-commits at lists.llvm.org
Fri Aug 30 15:46:42 PDT 2024
================
@@ -1754,6 +1755,30 @@ def StdC : StandardSpec<"stdc"> {
] // Functions
>;
+ HeaderSpec LangInfo = HeaderSpec<
+ "langinfo.h",
+ [],
+ [], // Types
+ [], // Enumerations
+ [
+ FunctionSpec<
+ "nl_langinfo",
+ RetValSpec<CharPtr>,
+ [
+ ArgSpec<NLItem>
+ ]
+ >,
+ FunctionSpec<
+ "nl_langinfo",
----------------
michaelrj-google wrote:
this should be `nl_langinfo_l`
https://github.com/llvm/llvm-project/pull/106620
More information about the libc-commits
mailing list