mirror of
https://github.com/reactos/reactos.git
synced 2025-03-10 18:24:02 +00:00
12 lines
219 B
C
12 lines
219 B
C
![]() |
#include <string.h>
|
||
|
|
||
|
char *strsep(char **stringp, const char *delim)
|
||
|
{
|
||
|
char *ret = *stringp;
|
||
|
if (ret == NULL) return NULL;
|
||
|
if ((*stringp = strpbrk(*stringp, delim)) != NULL)
|
||
|
*((*stringp)++) = '\0';
|
||
|
return ret;
|
||
|
}
|
||
|
|