Searched refs:tmp_file (Results 1 - 7 of 7) sorted by relevance
/opensolaris-onvv-gate/usr/src/lib/libsecdb/ |
H A D | svc-rbac | 60 tmp_file=$tmp_rbac/file 88 /usr/bin/rm -f $tmp_file 107 /usr/bin/grep -v '^#' $frag >> $tmp_file 112 echo $tmp_file $f | $irbac
|
/opensolaris-onvv-gate/usr/src/lib/libzonecfg/common/ |
H A D | getzoneent.c | 271 FILE *index_file, *tmp_file; local 321 if ((tmp_file = fdopen(tmp_file_desc, "w")) == NULL) { 360 (void) fputs(buf, tmp_file); 367 (void) fputs(buf, tmp_file); 453 (void) fprintf(tmp_file, "%s:%s:%s%s%s:%s\n", zone_name, 461 if (fclose(tmp_file) != 0) { 462 tmp_file = NULL; 466 tmp_file = NULL; 479 if (tmp_file != NULL) 480 (void) fclose(tmp_file); [all...] |
/opensolaris-onvv-gate/usr/src/cmd/krb5/ldap_util/ |
H A D | kdb5_ldap_services.c | 1076 char *tmp_file = NULL; local 1104 tmp_file = (char *)malloc(strlen(file_name) + 4 + 1); 1105 if (tmp_file == NULL) { 1110 snprintf (tmp_file, strlen(file_name) + 4 + 1, "%s%s", file_name, ".tmp"); 1113 tmpfd = creat(tmp_file, S_IRUSR|S_IWUSR); 1131 unlink(tmp_file); 1140 link(tmp_file, file_name); 1144 unlink(tmp_file); 1150 if (tmp_file) 1151 free(tmp_file); 1540 char *tmp_file = NULL; local 1928 char *file_name = NULL, *tmp_file = NULL; local [all...] |
/opensolaris-onvv-gate/usr/src/lib/libbc/libc/sys/common/ |
H A D | _open.c | 344 int tmp_file; local 361 tmp_file = _syscall(SYS_openat, AT_FDCWD, tmp_name, O_RDONLY); 362 if (tmp_file == -1 || unlink(tmp_name) == -1) 365 return (tmp_file);
|
/opensolaris-onvv-gate/usr/src/cmd/hal/addons/cpufreq/ |
H A D | addon-cpufreq.c | 138 power_conf_hal_type pc_hal_type, char *tmp_file) 156 if (tmp_file == NULL) { 160 sprintf (cp_cmd_str, "/usr/bin/cp %s %s", POWER_CONF_FILE, tmp_file); 163 POWER_CONF_FILE, tmp_file, strerror (errno))); 167 pfile = fopen (tmp_file, "r+"); 170 tmp_file, strerror (errno))); 248 tmp_file, strerror (errno))); 137 edit_power_conf_file(pconf_edit_type pc_edit_type, power_conf_hal_type pc_hal_type, char *tmp_file) argument
|
/opensolaris-onvv-gate/usr/src/lib/libpkg/common/ |
H A D | pkgweb.c | 1830 static char tmp_file[PATH_MAX] = ""; local 1839 if (((len = snprintf(tmp_file, PATH_MAX, "%s/%sXXXXXX", tmpdir, 1846 if ((fd = mkstemp(tmp_file)) == -1) { 1847 pkgerr_add(err, PKGERR_WEB, gettext(MSG_NOTMPFIL), tmp_file); 1852 pkgerr_add(err, PKGERR_WEB, gettext(MSG_NOTMPFIL), tmp_file); 1857 pkgerr_add(err, PKGERR_WEB, gettext(MSG_NOTMPFIL), tmp_file); 1862 pkgerr_add(err, PKGERR_WEB, gettext(MSG_NOTMPFIL), tmp_file); 1868 gettext(ERR_KEYSTORE_FORM), tmp_file); 1874 gettext(ERR_KEYSTORE_FORM), tmp_file); 1883 ret = tmp_file; 2150 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 97 milliseconds