https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63853

--- Comment #8 from Iain Sandoe <iains at gcc dot gnu.org> ---
(In reply to Jakub Jelinek from comment #4)
> That is not what strchrnul does though.
> If is char *p = strchr (s, c); if (p) return p; else return strchr (s, '\0');

fair enough, if that's preferred
 .. was just following the description from a random Linux man page:
http://linux.die.net/man/3/strchrnul

Reply via email to