/illumos-gate/usr/src/test/smbclient-tests/tests/smbfs/xattr/ |
H A D | tp_xattr_009.ksh | 87 cp /dev/null temp_file 88 echo SUNWattr_ro >> temp_file 89 echo SUNWattr_rw >> temp_file 91 echo passwd$i >> temp_file
|
/illumos-gate/usr/src/cmd/lp/filter/postscript/common/ |
H A D | misc.c | 80 if ( temp_file != NULL ) in error() 81 unlink(temp_file); in error() 271 if ( temp_file != NULL ) 272 unlink(temp_file);
|
H A D | glob.c | 49 char *temp_file = NULL; /* temporary file - for some programs */ variable
|
H A D | ext.h | 45 extern char *temp_file; /* temporary file - for some programs */
|
/illumos-gate/usr/src/cmd/lp/filter/postscript/download/ |
H A D | download.c | 404 if ( temp_file != NULL ) in done() 405 unlink(temp_file); in done() 430 if ( (temp_file = tempnam(temp_dir, "post")) == NULL ) in download() 432 if ( (fp_temp = fopen(temp_file, "w+")) == NULL ) in download() 433 error(FATAL, "can't open %s", temp_file); in download() 434 unlink(temp_file); in download() 435 temp_file = NULL; in download()
|
/illumos-gate/usr/src/cmd/sgs/mcs/common/ |
H A D | main.c | 264 free_tempfile(Tmp_File *temp_file) in free_tempfile() argument 266 if ((temp_file->tmp_name != NULL) && (temp_file->tmp_unlink)) in free_tempfile() 267 (void) unlink(temp_file->tmp_name); in free_tempfile() 268 (void) memset(temp_file, 0, sizeof (*temp_file)); in free_tempfile()
|
H A D | file.c | 1411 copy_file(int ofd, char *fname, Tmp_File *temp_file) in copy_file() argument 1422 if ((fdtmp2 = open(temp_file->tmp_name, O_RDONLY)) == -1) { in copy_file() 1424 prog, temp_file->tmp_name); in copy_file() 1428 (void) stat(temp_file->tmp_name, &stbuf); /* for size of file */ in copy_file() 1447 strerror(errno), prog, temp_file->tmp_name); in copy_file() 1477 free_tempfile(temp_file); in copy_file()
|
/illumos-gate/usr/src/common/fs/ |
H A D | bootrd_cpio.c | 368 struct cpio_file temp_file; in bcpio_open() local 371 if (find_filename(path, &temp_file) != 0) in bcpio_open() 375 file->hdr = temp_file.hdr; in bcpio_open() 376 file->path = temp_file.path; in bcpio_open() 377 file->data = temp_file.data; in bcpio_open() 378 file->stat = temp_file.stat; in bcpio_open()
|
/illumos-gate/usr/src/cmd/lp/filter/postscript/dpost/ |
H A D | dpost.c | 1008 if ( temp_file != NULL ) { in done() 1010 cat(temp_file); in done() 1013 unlink(temp_file); in done() 2778 if ( temp_file == NULL ) /* generate a temp file name */ in documentfonts() 2779 if ( (temp_file = tempnam(TEMPDIR, "dpost")) == NULL ) in documentfonts() 2785 if ( (fp_out = fopen(temp_file, "a")) != NULL ) { in documentfonts()
|
/illumos-gate/usr/src/cmd/make/bin/ |
H A D | parallel.cc | 1248 check_state(rp->temp_file); in finish_children() 1249 if (rp->temp_file != NULL) { in finish_children() 1250 free_name(rp->temp_file); in finish_children() 1252 rp->temp_file = NULL; in finish_children() 1455 rp->temp_file = NULL; in new_running_struct() 1519 rp->temp_file = temp_file_name; in add_running()
|
H A D | main.cc | 712 if (rp->temp_file != NULL) { in cleanup_after_exit() 713 (void) unlink(rp->temp_file->string_mb); in cleanup_after_exit()
|
/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; in main() 479 temp_file = malloc(size); in main() 480 if (temp_file == NULL) in main() 482 (void) snprintf(temp_file, size, "%s%s", root_dir, in main() 1676 if ((temp_fp = fopen(temp_file, "w")) == NULL) { in save_route() 1683 if (fclose(temp_fp) != 0 || rename(temp_file, perm_file) != 0) { in save_route() 1716 if (fclose(temp_fp) != 0 || rename(temp_file, perm_file) != 0) { in save_route()
|
/illumos-gate/usr/src/cmd/make/include/mk/ |
H A D | defs.h | 131 struct _Name *temp_file; member
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/wificonfig/ |
H A D | wificonfig.c | 934 char temp_file[256]; in fprint_config_file() local 941 safe_snprintf(temp_file, sizeof (temp_file), in fprint_config_file() 943 fd = open(temp_file, O_CREAT|O_WRONLY|O_TRUNC, 0600); in fprint_config_file() 946 gExecName, temp_file); in fprint_config_file() 1001 if (rename(temp_file, file_name) != 0) { in fprint_config_file()
|