summaryrefslogtreecommitdiff
path: root/libc/string/strtok.c
blob: dfe05d780734786ba55082c41be9294e181e0d63 (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);
}