--- util.h +++ util.h @@ -6,3 +6,4 @@ void die(const char *fmt, ...); void *ecalloc(size_t nmemb, size_t size); +size_t split(char *s, const char* sep, char **pbegin, size_t maxcount);