Home
last modified time | relevance | path

Searched refs:p_path (Results 1 – 12 of 12) sorted by relevance

/netbsd/bin/cp/
H A Dutils.c109 (void)unlink(to.p_path); in copy_file()
111 warn("%s", to.p_path); in copy_file()
150 lstat(to.p_path, &sb) : stat(to.p_path, &sb); in copy_file()
168 (void)unlink(to.p_path); in copy_file()
174 warn("%s", to.p_path); in copy_file()
190 fi.to = to.p_path; in copy_file()
244 warn("%s", to.p_path); in copy_file()
284 warn("%s", to.p_path); in copy_file()
288 warn("%s", to.p_path); in copy_file()
293 warn("%s", to.p_path); in copy_file()
[all …]
H A Dcp.c210 if (strlcpy(to.p_path, target, sizeof(to.p_path)) >= sizeof(to.p_path)) in main()
212 to.p_end = to.p_path + strlen(to.p_path); in main()
238 r = lstat(to.p_path, &to_stat); in main()
240 r = stat(to.p_path, &to_stat); in main()
278 to.p_path); in main()
409 to.p_path, p); in copy()
419 sval = Pflag ? lstat(to.p_path, &to_stat) : stat(to.p_path, &to_stat); in copy()
482 if (mkdir(to.p_path, in copy()
485 to.p_path); in copy()
490 to.p_path); in copy()
[all …]
H A Dextern.h40 char p_path[MAXPATHLEN + 1]; /* pointer to the start of a path */ member
/netbsd/usr.bin/whatis/
H A Dwhatis.c76 char *beg, *conffile, **p, *p_augment, *p_path; in main() local
80 p_augment = p_path = NULL; in main()
88 p_path = optarg; in main()
113 if (p_path || (p_path = getenv("MANPATH"))) in main()
114 whatis(argv, p_path, 1); in main()
/netbsd/usr.bin/apropos/
H A Dapropos.c79 char *conffile, *machine, **p, *p_augment, *p_path, *sflag; in main() local
83 p_augment = p_path = NULL; in main()
92 p_path = optarg; in main()
125 if (p_path || (p_path = getenv("MANPATH"))) in main()
126 apropos(argv, p_path, true, sflag, machine); in main()
/netbsd/sys/kern/
H A Dkern_fork.c390 if (p1->p_path) in fork1()
391 p2->p_path = kmem_strdupsize(p1->p_path, NULL, KM_SLEEP); in fork1()
393 p2->p_path = NULL; in fork1()
H A Dkern_proc.c2680 COND_SET_PTR(p->p_path, psrc->p_path, allowaddr); in fill_proc()
2979 if (p->p_path == NULL) { in fill_pathname()
2985 size_t len = strlen(p->p_path) + 1; in fill_pathname()
2988 error = sysctl_copyout(l, p->p_path, oldp, copylen); in fill_pathname()
H A Dexec_elf.c158 char *path = l->l_proc->p_path; in elf_populate_auxv()
H A Dkern_exit.c1269 kmem_strfree(p->p_path); in proc_free()
H A Dkern_exec.c1035 kmem_strfree(p->p_path); in pathexec()
1036 p->p_path = kmem_strdupsize(resolvedname, NULL, KM_SLEEP); in pathexec()
/netbsd/sys/sys/
H A Dproc.h313 char *p_path; /* :: full pathname of executable */ member
/netbsd/sys/miscfs/procfs/
H A Dprocfs_vnops.c866 vap->va_bytes = vap->va_size = strlen(procp->p_path); in procfs_getattr()
1594 bp = pown->p_path; in procfs_readlink()