compat / strchrnul.con commit Add strchrnul() (659c69c)
   1#include "../git-compat-util.h"
   2
   3char *gitstrchrnul(const char *s, int c)
   4{
   5        while (*s && *s != c)
   6                s++;
   7        return (char *)s;
   8}