Namespaces
Variants
Views
Actions

Talk:c/string/byte/strchr

From cppreference.com

Why does this function accept a const char * and return a char *? 50.34.160.207 14:53, 15 April 2022 (PDT)

because C has no function overloading. Compare to cpp/string/byte/strchr in C++. --Cubbi (talk) 20:24, 16 April 2022 (PDT)
This needs to be updated to take N3020 into account for C23. --2A02:586:293F:668:E049:5D0F:F2F4:C81 17:42, 26 December 2022 (PST)