Searched refs:p_path (Results 1 - 5 of 5) sorted by relevance

/netbsd-6-1-5-RELEASE/bin/cp/
H A Dutils.c124 (void)fprintf(stderr, "overwrite %s? ", to.p_path);
135 lstat(to.p_path, &sb) : stat(to.p_path, &sb);
137 warn("stat: %s", to.p_path);
143 to_fd = open(to.p_path, O_WRONLY | O_TRUNC, 0);
145 to_fd = open(to.p_path, O_WRONLY | O_TRUNC | O_CREAT,
153 (void)unlink(to.p_path);
154 to_fd = open(to.p_path, O_WRONLY | O_TRUNC | O_CREAT,
159 warn("%s", to.p_path);
170 (void)unlink(to.p_path);
[all...]
H A Dcp.c82 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...]
H A Dextern.h40 char p_path[MAXPATHLEN + 1]; /* pointer to the start of a path */ member in struct:__anon1
/netbsd-6-1-5-RELEASE/usr.bin/whatis/
H A Dwhatis.c76 char *beg, *conffile, **p, *p_augment, *p_path; local
80 p_augment = p_path = NULL;
88 p_path = optarg;
113 if (p_path || (p_path = getenv("MANPATH")))
114 whatis(argv, p_path, 1);
/netbsd-6-1-5-RELEASE/usr.bin/apropos/
H A Dapropos.c79 char *conffile, *machine, **p, *p_augment, *p_path, *sflag; local
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);

Completed in 166 milliseconds