Namespaces
Variants
Views
Actions

Talk:c/string/byte/strpbrk

From cppreference.com

Is this implying that `strpbrk` is overloaded on const-ness in C? What is the real signature? My man pages tell me it's actually a third option:

   char* strpbrk(const char* dest, const char* src);
   // I'm assuming it does a const cast

Thejohnfreeman 13:49, 13 December 2012 (PST)

You're right, the C standard provides that signature (and of course has no overloads). --Bazzy 14:16, 13 December 2012 (PST)
Many thanks for spotting this error. Several other pages had the same issue. P12 14:23, 13 December 2012 (PST)