summaryrefslogtreecommitdiff
path: root/libc/string/strtok.c
blob: 9dc19a90bff23239e9178275e0f5d6c1393d22e5 (plain)
1
2
3
4
5
6
7
8
#include <string.h>

static char *save = 0;

char *strtok(char *s, const char *delim)
{
	return __strtok_r(s, delim, &save);
}