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

/osnet-11/usr/src/lib/libzonecfg/common/
H A Dgetzoneent.c264 char *tmp_file_name, buf[MAX_INDEX_LEN]; local
296 tmp_file_name = malloc(tlen);
297 if (tmp_file_name == NULL) {
301 (void) snprintf(tmp_file_name, tlen, "%s%s", zonecfg_root,
304 tmp_file_desc = mkstemp(tmp_file_name);
306 (void) unlink(tmp_file_name);
307 free(tmp_file_name);
460 if (rename(tmp_file_name, path) == -1) {
464 free(tmp_file_name);
474 (void) unlink(tmp_file_name);
[all...]

Completed in 20 milliseconds