Lines Matching defs:templet
263 isc_file_template(const char *path, const char *templet, char *buf,
268 REQUIRE(templet != NULL);
271 s = strrchr(templet, '\\');
273 templet = s + 1;
278 if ((s - path + 1 + strlen(templet) + 1) > buflen)
283 strcat(buf, templet);
285 if ((strlen(templet) + 1) > buflen)
288 strcpy(buf, templet);
295 isc_file_renameunique(const char *file, char *templet) {
301 REQUIRE(templet != NULL);
303 fd = mkstemp(templet);
310 res = isc_file_safemovefile(file, templet);
313 (void)unlink(templet);
320 isc_file_openuniqueprivate(char *templet, FILE **fp) {
322 return (isc_file_openuniquemode(templet, mode, fp));
326 isc_file_openunique(char *templet, FILE **fp) {
328 return (isc_file_openuniquemode(templet, mode, fp));
332 isc_file_openuniquemode(char *templet, int mode, FILE **fp) {
337 REQUIRE(templet != NULL);
343 fd = mkstemp(templet);
356 (void)remove(templet);