We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 829a733 commit b71e3edCopy full SHA for b71e3ed
zircon/kernel/lib/ktl/include/cwchar
@@ -20,6 +20,23 @@ using ::wmemcpy;
20
using ::wmemmove;
21
using ::wmemset;
22
23
+// These are called by libc++ header code that should never be instantiated.
24
+
25
+constexpr size_t __constexpr_wcslen(const wchar_t* str) {
26
+ __builtin_abort();
27
+ return 0;
28
+}
29
30
+constexpr int __constexpr_wmemcmp(const wchar_t* lhs, const wchar_t* rhs, size_t count) {
31
32
+ return -1;
33
34
35
+constexpr const wchar_t* __constexpr_wmemchr(const wchar_t* str, wchar_t wc, size_t count) {
36
37
+ return nullptr;
38
39
40
_LIBCPP_END_NAMESPACE_STD
41
42
#endif // ZIRCON_KERNEL_LIB_KTL_INCLUDE_CWCHAR
0 commit comments