2 * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
3 * See the copyright notice in the ACK home directory, in the file "Copyright".
5 /* $Id: strtok.c,v 1.3 1994/06/24 11:57:22 ceriel Exp $ */
10 strtok(register char *string, const char *separators)
12 register char *s1, *s2;
13 static char *savestring;
17 if (string == NULL) return (char *)NULL;
20 s1 = string + strspn(string, separators);
26 s2 = strpbrk(s1, separators);