typedef struct {
char *p_end; /* pointer to NULL at end of path */
char *target_end; /* pointer to end of target base */
char p_path[PATH_MAX]; /* pointer to the start of a path */
} PATH_T;
static char emptystring[] = "";
PATH_T to = { to.p_path, emptystring, "" };