Searched defs:temp_file (Results 1 - 6 of 6) sorted by relevance
| /illumos-gate/usr/src/cmd/lp/filter/postscript/common/ |
| H A D | glob.c | 49 char *temp_file = NULL; /* temporary file - for some programs */ variable
|
| /illumos-gate/usr/src/cmd/sgs/mcs/common/ |
| H A D | main.c | 262 free_tempfile(Tmp_File *temp_file) argument 264 if ((temp_file->tmp_name != NULL) && (temp_file->tmp_unlink)) 265 (void) unlink(temp_file->tmp_name); 266 (void) memset(temp_file, 0, sizeof (*temp_file));
|
| H A D | file.c | 1398 * The contents of the file given by temp_file->tmp_name are 1400 * unlinked, and temp_file reset. 1403 copy_file(int ofd, char *fname, Tmp_File *temp_file) argument 1414 if ((fdtmp2 = open(temp_file->tmp_name, O_RDONLY)) == -1) { 1416 prog, temp_file->tmp_name); 1420 (void) stat(temp_file->tmp_name, &stbuf); /* for size of file */ 1439 strerror(errno), prog, temp_file->tmp_name); 1469 free_tempfile(temp_file);
|
| /illumos-gate/usr/src/cmd/make/include/mk/ |
| H A D | defs.h | 126 struct _Name *temp_file; member in struct:_Running
|
| /illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ |
| H A D | route.c | 310 static char *temp_file; variable 470 temp_file = temp_file_sfx; 479 temp_file = malloc(size); 480 if (temp_file == NULL) 482 (void) snprintf(temp_file, size, "%s%s", root_dir, 1676 if ((temp_fp = fopen(temp_file, "w")) == NULL) { 1683 if (fclose(temp_fp) != 0 || rename(temp_file, perm_file) != 0) { 1716 if (fclose(temp_fp) != 0 || rename(temp_file, perm_file) != 0) {
|
| /illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/wificonfig/ |
| H A D | wificonfig.c | 932 char temp_file[256]; local 939 safe_snprintf(temp_file, sizeof (temp_file), 941 fd = open(temp_file, O_CREAT|O_WRONLY|O_TRUNC, 0600); 944 gExecName, temp_file); 999 if (rename(temp_file, file_name) != 0) {
|
Completed in 132 milliseconds