Skip to content
This repository has been 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