8000 Error in function wcsstr · Issue #12 · ensc/dietlibc · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Sep 5, 2023. It is now read-only.

Error in function wcsstr #12

Open
coocoscoocos opened this issue Apr 7, 2020 · 0 comments
Open

Error in function wcsstr #12

coocoscoocos opened this issue Apr 7, 2020 · 0 comments

Comments

@coocoscoocos
Copy link

Function wcsstr return null if argument "haystack" ends with "needle". Ex:
wchar_t *x = L"string";
wchar_t *f = L"ng";
wchar_t *r = wcsstr(x, f); // IS NULL

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant
0