Import strsep() from musl libc

This commit is contained in:
sin
2015-01-25 17:48:11 +00:00
parent b98bf41ecc
commit bc9c752df5
3 changed files with 42 additions and 1 deletions

3
util.h
View File

@@ -41,6 +41,9 @@ size_t strlcat(char *, const char *, size_t);
#undef strlcpy
size_t strlcpy(char *, const char *, size_t);
#undef strsep
char *strsep(char **, const char *);
/* regex */
int enregcomp(int, regex_t *, const char *, int);
int eregcomp(regex_t *, const char *, int);