The C standard should fix these const -> non const issues at some point (as C++11/C++14 is finally doing).
What you mean by that? Even C++98 requires std::strchr() and similar functions to be overloaded so that the return type matches the pointer argument type. I don't know how that could be achieved in C.
Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds