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

/osnet-11/usr/src/lib/libzonecfg/common/
H A Dgetzoneent.c265 int tmp_file_desc, lock_fd, err; local
304 tmp_file_desc = mkstemp(tmp_file_name);
305 if (tmp_file_desc == -1) {
311 (void) fchmod(tmp_file_desc, ZONE_INDEX_MODE);
312 (void) fchown(tmp_file_desc, ZONE_INDEX_UID, ZONE_INDEX_GID);
313 if ((tmp_file = fdopen(tmp_file_desc, "w")) == NULL) {
314 (void) close(tmp_file_desc);

Completed in 82 milliseconds