Searched refs:pathbuf (Results 1 – 7 of 7) sorted by relevance
/original-bsd/lib/libterm/ |
H A D | termcap.c | 50 char pathbuf[PBUFSIZ]; /* holds raw path of filenames */ local 58 p = pathbuf; 72 strncpy(pathbuf, termpath, PBUFSIZ); 76 strcpy(pathbuf, home); /* $HOME first */ 79 strncpy(p, _PATH_DEF, PBUFSIZ - (p - pathbuf)); 83 strncpy(pathbuf, cp, PBUFSIZ); /* still can be tokenized */ 85 *fname++ = pathbuf; /* tokenize path into vector of names */
|
/original-bsd/usr.sbin/sendmail/smrsh/ |
H A D | smrsh.c | 74 char pathbuf[1000]; local 82 strcpy(pathbuf, "PATH="); 83 strcat(pathbuf, PATH); 84 newenv[0] = pathbuf;
|
/original-bsd/lib/libc/gen/ |
H A D | glob.c | 465 Char pathbuf[MAXPATHLEN+1]; local 470 return(glob2(pathbuf, pathbuf, pattern, pglob)); 479 glob2(pathbuf, pathend, pattern, pglob) in glob2() argument 480 Char *pathbuf, *pathend, *pattern; in glob2() 494 if (g_lstat(pathbuf, &sb, pglob)) 500 (g_stat(pathbuf, &sb, pglob) == 0) && 506 return(globextend(pathbuf, pglob)); 531 Char *pathbuf, *pathend, *pattern, *restpattern; in glob3() 550 if ((dirp = g_opendir(pathbuf, pglob)) == NULL) { 553 g_Ctoc(pathbuf, buf); [all …]
|
/original-bsd/sbin/fsck/ |
H A D | pass2.c | 37 char pathbuf[MAXPATHLEN + 1]; in pass2() local 115 getpathname(pathbuf, inp->i_number, inp->i_number); in pass2() 117 pathbuf, inp->i_isize, DIRBLKSIZ); in pass2() 185 char pathbuf[MAXPATHLEN + 1]; local 394 getpathname(pathbuf, idesc->id_number, 397 pwarn("%s %s %s\n", pathbuf,
|
H A D | dir.c | 257 char pathbuf[MAXPATHLEN + 1]; local 262 getpathname(pathbuf, cwd, ino); 264 pfatal("NAME=%s\n", pathbuf); 270 (dp->di_mode & IFMT) == IFDIR ? "DIR" : "FILE", pathbuf); 272 pfatal("NAME=%s\n", pathbuf); 503 char pathbuf[MAXPATHLEN + 1]; local 522 getpathname(pathbuf, parent, parent); 524 if (expanddir(dp, pathbuf) == 0)
|
/original-bsd/bin/ps/ |
H A D | ps.c | 173 char *ttypath, pathbuf[MAXPATHLEN]; local 178 (void)snprintf(ttypath = pathbuf, 179 sizeof(pathbuf), "%s%s", _PATH_TTY, optarg);
|
/original-bsd/usr.bin/rdist/ |
H A D | expand.c | 64 char pathbuf[BUFSIZ]; local 82 path = tpathp = pathp = pathbuf; 84 lastpathp = &path[sizeof pathbuf - 2];
|