HomeSort by: relevance | last modified time | path
    Searched refs:p_path (Results 1 - 12 of 12) sorted by relevancy

  /src/bin/cp/
utils.c 109 (void)unlink(to.p_path);
110 if (link(entp->fts_path, to.p_path)) {
111 warn("%s", to.p_path);
139 (void)fprintf(stderr, "overwrite %s? ", to.p_path);
150 lstat(to.p_path, &sb) : stat(to.p_path, &sb);
152 warn("stat: %s", to.p_path);
158 to_fd = open(to.p_path, O_WRONLY | O_TRUNC, 0);
160 to_fd = open(to.p_path, O_WRONLY | O_TRUNC | O_CREAT,
168 (void)unlink(to.p_path);
    [all...]
cp.c 82 while ((p).p_end > (p).p_path + 1 && (p).p_end[-1] == '/') \
87 PATH_T to = { .p_end = to.p_path, .target_end = empty };
210 if (strlcpy(to.p_path, target, sizeof(to.p_path)) >= sizeof(to.p_path))
212 to.p_end = to.p_path + strlen(to.p_path);
238 r = lstat(to.p_path, &to_stat);
240 r = stat(to.p_path, &to_stat);
242 err(EXIT_FAILURE, "%s", to.p_path);
    [all...]
extern.h 40 char p_path[MAXPATHLEN + 1]; /* pointer to the start of a path */ member in struct:__anon83ea26830108
  /src/usr.bin/apropos/
apropos.c 79 char *conffile, *machine, **p, *p_augment, *p_path, *sflag; local in function:main
83 p_augment = p_path = NULL;
92 p_path = optarg;
125 if (p_path || (p_path = getenv("MANPATH")))
126 apropos(argv, p_path, true, sflag, machine);
  /src/usr.bin/whatis/
whatis.c 76 char *beg, *conffile, **p, *p_augment, *p_path; local in function:main
80 p_augment = p_path = NULL;
88 p_path = optarg;
113 if (p_path || (p_path = getenv("MANPATH")))
114 whatis(argv, p_path, 1);
  /src/sys/kern/
kern_fork.c 402 if (p1->p_path)
403 p2->p_path = kmem_strdupsize(p1->p_path, NULL, KM_SLEEP);
405 p2->p_path = NULL;
kern_proc.c 2689 COND_SET_PTR(p->p_path, psrc->p_path, allowaddr);
2984 if (p->p_path == NULL) {
2990 size_t len = strlen(p->p_path) + 1;
2993 error = sysctl_copyout(l, p->p_path, oldp, copylen);
exec_elf.c 161 char *path = l->l_proc->p_path;
kern_exit.c 1274 kmem_strfree(p->p_path);
kern_exec.c 1037 kmem_strfree(p->p_path);
1038 p->p_path = kmem_strdupsize(resolvedname, NULL, KM_SLEEP);
  /src/sys/sys/
proc.h 313 char *p_path; /* :: full pathname of executable */ member in struct:proc
  /src/sys/miscfs/procfs/
procfs_vnops.c 970 vap->va_bytes = vap->va_size = strlen(procp->p_path);
1820 bp = pown->p_path;

Completed in 19 milliseconds