Lines Matching defs:path
142 process_manpage(int srv_fd, int dstdir_fd, const char *path)
147 if ((in_fd = open(path, O_RDONLY)) == -1) {
148 warn("open %s for reading", path);
153 if ((out_fd = openat(dstdir_fd, path,
156 warn("openat %s for writing", path);
179 const char *path;
232 path = entry->fts_path + 2;
235 switch (process_manpage(srv_fd, dstdir_fd, path)) {
249 if (*path != '\0' &&
250 mkdirat(dstdir_fd, path, S_IRWXU | S_IRGRP |
253 warn("mkdirat %s", path);
264 path, strerror(entry->fts_errno));
269 warnx("directory %s causes cycle", path);
276 path, strerror(entry->fts_errno));
281 warnx("file %s: not a regular file", path);