register int len; register char *cp;
size_t len; char *cp;
fts_load(sp, p)	FTS *sp;	register FTSENT *p;{	register int len;	register char *cp;	/*	 * Load the stream structure for the next traversal.  Since we don't	 * actually enter the directory until after the preorder visit, set	 * the fts_accpath field specially so the chdir gets done to the right	 * place and the user can access the first node.  From fts_open it's	 * known that the path will fit.	 */	len = p->fts_pathlen = p->fts_namelen;	memmove(sp->fts_path, p->fts_name, len + 1);	if ((cp = strrchr(p->fts_name, '/')) && (cp != p->fts_name || cp[1])) {		len = strlen(++cp);		memmove(p->fts_name, cp, len + 1);		p->fts_namelen = len;	}	p->fts_accpath = p->fts_path = sp->fts_path;	sp->fts_dev = p->fts_dev;}