prom_path_gettoken
extern char *prom_path_gettoken(char *from, char *to);
tp = prom_path_gettoken(tp, token);