Searched refs:templet (Results 1 - 7 of 7) sorted by relevance

/bind-9.6-ESV-R11/lib/isc/unix/
H A Dfile.c164 isc_file_template(const char *path, const char *templet, char *buf, argument
169 REQUIRE(templet != NULL);
172 s = strrchr(templet, '/');
174 templet = s + 1;
179 if ((s - path + 1 + strlen(templet) + 1) > buflen)
184 strcat(buf, templet);
186 if ((strlen(templet) + 1) > buflen)
189 strcpy(buf, templet);
199 isc_file_renameunique(const char *file, char *templet) { argument
205 REQUIRE(templet !
243 isc_file_openunique(char *templet, FILE **fp) argument
302 isc_file_bopenunique(char *templet, FILE **fp) argument
[all...]
H A Ddir.c185 isc_dir_createunique(char *templet) { argument
192 REQUIRE(templet != NULL);
203 for (x = templet + strlen(templet) - 1; *x == 'X' && x >= templet;
210 i = mkdir(templet, 0700);
/bind-9.6-ESV-R11/lib/isc/include/isc/
H A Dfile.h101 isc_file_openunique(char *templet, FILE **fp);
103 isc_file_bopenunique(char *templet, FILE **fp);
105 * \brief Create and open a file with a unique name based on 'templet'.
111 * about the spelling of 'templet', first look it up in the
246 isc_file_template(const char *path, const char *templet, char *buf,
250 * 'templet' to describe the filename and store the result in 'buf'
255 isc_file_renameunique(const char *file, char *templet);
257 * Rename 'file' using 'templet' as a template for the new file name.
/bind-9.6-ESV-R11/lib/isc/win32/
H A Dfile.c264 isc_file_template(const char *path, const char *templet, char *buf, argument
269 REQUIRE(templet != NULL);
272 s = strrchr(templet, '\\');
274 templet = s + 1;
279 if ((s - path + 1 + strlen(templet) + 1) > buflen)
284 strcat(buf, templet);
286 if ((strlen(templet) + 1) > buflen)
289 strcpy(buf, templet);
296 isc_file_renameunique(const char *file, char *templet) { argument
302 REQUIRE(templet !
321 openuniquemode(char *templet, int mode, isc_boolean_t binary, FILE **fp) argument
355 isc_file_openunique(char *templet, FILE **fp) argument
361 isc_file_bopenunique(char *templet, FILE **fp) argument
[all...]
H A Ddir.c244 isc_dir_createunique(char *templet) { argument
251 REQUIRE(templet != NULL);
262 for (x = templet + strlen(templet) - 1; *x == 'X' && x >= templet;
269 i = mkdir(templet);
271 i = chmod(templet, 0700);
/bind-9.6-ESV-R11/lib/isc/unix/include/isc/
H A Ddir.h84 isc_dir_createunique(char *templet);
86 * Use a templet (such as from isc_file_mktemplate()) to create a uniquely
87 * named, empty directory. The templet string is modified in place.
/bind-9.6-ESV-R11/lib/isc/win32/include/isc/
H A Ddir.h73 isc_dir_createunique(char *templet);
75 * Use a templet (such as from isc_file_mktemplate()) to create a uniquely
76 * named, empty directory. The templet string is modified in place.

Completed in 15 milliseconds