Lines Matching defs:token
35 static char *gettoken(char *tp, char *token);
150 * Get a token from a prom pathname, collecting everything
153 * of the token are removed.
156 gettoken(char *tp, char *token)
158 char *result = token;
161 tp = prom_path_gettoken(tp, token);
162 token += prom_strlen(token);
164 *token++ = *tp++;
165 *token = '\0';
171 /* strip off any options from the token */