Lines Matching defs:pathbuf
108 char pathbuf[PBUFSIZ]; /* holds raw path of filenames */
109 char *pathvec[PVECSIZ]; /* to point to names in pathbuf */
117 p = pathbuf;
131 strncpy(pathbuf, termpath, PBUFSIZ);
134 strncpy(pathbuf, home, PBUFSIZ - 1); /* $HOME first */
135 pathbuf[PBUFSIZ - 2] = '\0'; /* -2 because we add a slash */
136 p += strlen(pathbuf); /* path, looking in */
139 strncpy(p, _PATH_DEF, PBUFSIZ - (p - pathbuf));
143 strncpy(pathbuf, cp, PBUFSIZ); /* still can be tokenized */
147 strcpy(pathbuf, _PATH_DEF_SEC);
149 pathbuf[PBUFSIZ - 1] = '\0';
151 *fname++ = pathbuf; /* tokenize path into vector of names */