https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63853
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> --- That is not what strchrnul does though. If is char *p = strchr (s, c); if (p) return p; else return strchr (s, '\0');
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63853
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> --- That is not what strchrnul does though. If is char *p = strchr (s, c); if (p) return p; else return strchr (s, '\0');