Searched refs:tmp_file (Results 1 - 3 of 3) sorted by relevance
/osnet-11/usr/src/lib/libzonecfg/common/ |
H A D | getzoneent.c | 263 FILE *index_file, *tmp_file; local 313 if ((tmp_file = fdopen(tmp_file_desc, "w")) == NULL) { 352 (void) fputs(buf, tmp_file); 359 (void) fputs(buf, tmp_file); 446 (void) fprintf(tmp_file, "%s:%s:%s%s%s:%s\n", zone_name, 454 if (fclose(tmp_file) != 0) { 455 tmp_file = NULL; 459 tmp_file = NULL; 472 if (tmp_file != NULL) 473 (void) fclose(tmp_file); [all...] |
/osnet-11/usr/src/lib/libpkg/common/ |
H A D | pkgweb.c | 1829 static char tmp_file[PATH_MAX] = ""; local 1838 if (((len = snprintf(tmp_file, PATH_MAX, "%s/%sXXXXXX", tmpdir, 1845 if ((fd = mkstemp(tmp_file)) == -1) { 1846 pkgerr_add(err, PKGERR_WEB, gettext(MSG_NOTMPFIL), tmp_file); 1851 pkgerr_add(err, PKGERR_WEB, gettext(MSG_NOTMPFIL), tmp_file); 1856 pkgerr_add(err, PKGERR_WEB, gettext(MSG_NOTMPFIL), tmp_file); 1861 pkgerr_add(err, PKGERR_WEB, gettext(MSG_NOTMPFIL), tmp_file); 1867 gettext(ERR_KEYSTORE_FORM), tmp_file); 1873 gettext(ERR_KEYSTORE_FORM), tmp_file); 1882 ret = tmp_file; 2149 char tmp_file[PATH_MAX]; local [all...] |
H A D | pkgtrans.c | 935 tmp_file[L_tmpnam+1]; local 980 (void) tmpnam(tmp_file); /* temporary file name */ 981 if ((list_fd = open(tmp_file, O_RDWR | O_CREAT)) == -1) { 1103 logerr(pkg_gt(MSG_NOTMPFIL), tmp_file); local 1158 (void) unlink(tmp_file); 1164 (void) unlink(tmp_file);
|
Completed in 23 milliseconds