Lines Matching defs:path
159 isc_file_mktemplate(const char *path, char *buf, size_t buflen) {
160 return (isc_file_template(path, TEMPLATE, buf, buflen));
164 isc_file_template(const char *path, const char *templet, char *buf,
168 REQUIRE(path != NULL);
176 s = strrchr(path, '/');
179 if ((s - path + 1 + strlen(templet) + 1) > buflen)
182 strncpy(buf, path, s - path + 1);
183 buf[s - path + 1] = '\0';
415 * appropriate path separator, such that the final product could be
444 isc_file_absolutepath(const char *filename, char *path, size_t pathlen) {
446 result = dir_current(path, pathlen);
449 if (strlen(path) + strlen(filename) + 1 > pathlen)
451 strcat(path, filename);