diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/string/strtok.c | 2 | ||||
-rw-r--r-- | src/wchar/wcstok.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/string/strtok.c b/src/string/strtok.c index 1520431..0ccd516 100644 --- a/src/string/strtok.c +++ b/src/string/strtok.c @@ -101,7 +101,7 @@ char* strsep(char** restrict string, const char* restrict delimiters) if (r == NULL) return NULL; - next = stpbrk(r, delimiters); + next = strpbrk(r, delimiters); if (next != NULL) *next++ = 0; *string = next; diff --git a/src/wchar/wcstok.c b/src/wchar/wcstok.c index 2694dc0..9ca3929 100644 --- a/src/wchar/wcstok.c +++ b/src/wchar/wcstok.c @@ -79,7 +79,7 @@ wchar_t* wcssep(wchar_t** restrict string, const wchar_t* restrict delimiters) if (r == NULL) return NULL; - next = wcpbrk(r, delimiters); + next = wcrpbrk(r, delimiters); if (next != NULL) *next++ = 0; *string = next; |