/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/File/Temp/t/ |
H A D | tempfile.t | 2 # Test for File::Temp - tempfile function 35 use File::Temp qw/ tempfile tempdir/; 42 # Open tempfile in some directory, unlink at end 43 my ($fh, $tempfile) = tempfile( 48 ok( (-f $tempfile) ); 51 ok( (-f $tempfile) ); 53 push(@files, $tempfile); 70 ($fh, $tempfile) = tempfile( [all...] |
H A D | security.t | 20 use File::Temp qw/ tempfile unlink0 /; 81 # of tests -- we dont use skip since the tempfile() commands will 94 # Create the tempfile 96 my ($fh1, $fname1) = eval { tempfile ( $template, 123 my ($fh2, $fname2) = eval { tempfile ($template, UNLINK => 1 ); };
|
/opensolaris-onvv-gate/usr/src/cmd/dtrace/test/tst/common/dtraceUtil/ |
H A D | tst.AddSearchPath.d.ksh | 69 tempfile=/tmp/test.h 70 echo "#define VALUE 1520" > $tempfile 81 /usr/bin/rm -f $tempfile
|
/opensolaris-onvv-gate/usr/src/lib/libnsl/dial/ |
H A D | ulockf.c | 56 static char *tempfile; local 59 tempfile = malloc(MAXNAMESIZE); 60 if (tempfile == NULL) 63 (void) snprintf(tempfile, MAXNAMESIZE, "%s/LTMP.%ld", X_LOCKDIR, 67 if (onelock(pid, tempfile, name) == -1) { 68 (void) unlink(tempfile); 72 if (onelock(pid, tempfile, name)) { 73 (void) unlink(tempfile); 189 * tempfile - name of a temporary in the same file system 196 onelock(char *pid, char *tempfile, cha argument [all...] |
/opensolaris-onvv-gate/usr/src/cmd/refer/ |
H A D | sortbib.c | 25 char tempfile[32]; /* temporary file for sorting keys */ variable 75 strcpy(tempfile, "/tmp/SbibXXXXXX"); /* tempfile for sorting keys */ 76 if ((tmpfd = mkstemp(tempfile)) == -1) 77 error(tempfile); 82 if ((tfp = fopen(tempfile, "w")) == NULL) { 83 (void) unlink(tempfile); 84 error(tempfile); 90 (void) unlink(tempfile); 127 (void) unlink(tempfile); [all...] |
/opensolaris-onvv-gate/usr/src/cmd/tip/ |
H A D | uucplock.c | 85 static char tempfile[NAMESIZE]; local 90 (void) snprintf(tempfile, sizeof (tempfile), 93 if (onelock(pid, tempfile, file) == -1) { 95 (void) unlink(tempfile); 99 if (onelock(pid, tempfile, file)) { 100 (void) unlink(tempfile); 199 onelock(char *pid, char *tempfile, char *name) argument 204 fd = creat(tempfile, 0444); 220 (void) unlink(tempfile); [all...] |
/opensolaris-onvv-gate/usr/src/cmd/bnu/ |
H A D | ulockf.c | 67 static char tempfile[MAXNAMESIZE]; local 75 (void) sprintf(tempfile, "%s/LTMP.%ld", X_LOCKDIR, (long) getpid()); 85 if (onelock(pid, tempfile, name) == -1) { 86 (void) unlink(tempfile); 90 if (onelock(pid, tempfile, name)) { 91 (void) unlink(tempfile); 290 * tempfile - name of a temporary in the same file system 297 onelock(pid,tempfile,name) 299 char *tempfile, *name; 304 fd=creat(tempfile, (mode_ [all...] |
/opensolaris-onvv-gate/usr/src/cmd/ttymon/ |
H A D | ulockf.c | 66 static char tempfile[MAXNAMESIZE]; local 74 (void) sprintf(tempfile, "%s/LTMP.%ld", X_LOCKDIR, (long) getpid()); 84 if (onelock(pid, tempfile, name) == -1) { 85 (void) unlink(tempfile); 89 if (onelock(pid, tempfile, name)) { 90 (void) unlink(tempfile); 289 * tempfile - name of a temporary in the same file system 296 onelock(pid,tempfile,name) 298 char *tempfile, *name; 303 fd=creat(tempfile, (mode_ [all...] |
/opensolaris-onvv-gate/usr/src/tools/onbld/Checks/ |
H A D | ProcessCheck.py | 34 import tempfile 45 # We use a tempfile for output, rather than a pipe, so we 49 tmpfile = tempfile.TemporaryFile(prefix=command)
|
/opensolaris-onvv-gate/usr/src/lib/libmail/common/ |
H A D | maillock.c | 128 lock1(char tempfile[], char name[]) argument 133 fd = open(tempfile, O_RDWR|O_CREAT|O_EXCL, 0600); 147 if (link(tempfile, name) < 0) { 148 (void) remove(tempfile); 151 (void) remove(tempfile);
|
/opensolaris-onvv-gate/usr/src/cmd/filebench/scripts/ |
H A D | fs_flush.pl | 87 my $tempfile = "/tmp/zpool.cache$$"; 90 if (run_prog("cp /etc/zfs/zpool.cache $tempfile") == 0) { 91 $cachefile = "-c $tempfile " 100 system("rm -f $tempfile") if ($cachefile ne "");
|
/opensolaris-onvv-gate/usr/src/cmd/bdiff/ |
H A D | bdiff.c | 69 static char tempfile[32]; variable 332 temptr = maket(tempfile); 350 if ((temptr = fopen(tempfile, "r")) == NULL) { 352 "Can not open tempfile ('%s')", tempfile); fatal(Error); 360 (void) unlink(tempfile); 434 (void) unlink(tempfile);
|
/opensolaris-onvv-gate/usr/src/cmd/diff/ |
H A D | diff.h | 183 char tempfile[2][16]; /* used when comparing against std input */ variable
|
H A D | diff.c | 1938 (void) strcpy(tempfile[whichtemp++], template); 1947 return (tempfile[whichtemp-1]); 2023 if (whichtemp) (void) unlink(tempfile[0]); 2024 if (whichtemp == 2) (void) unlink(tempfile[1]);
|
/opensolaris-onvv-gate/usr/src/cmd/sgs/m4/common/ |
H A D | m4ext.c | 102 char *tempfile; /* used for diversion files */ variable
|
H A D | m4.c | 81 tempfile = mktemp(tmp_name); 82 (void) close(creat(tempfile, 0)); 658 tempfile[7] = 'a'; 659 (void) unlink(tempfile); 700 tempfile[7] = 'a'+i; 703 fp = xfopen(tempfile, "r"); 716 (void) unlink(tempfile);
|
H A D | m4.h | 120 extern char *tempfile;
|
H A D | m4macs.c | 138 tempfile[7] = 'a'+f; 139 if (ofile[f] || (ofile[f] = xfopen(tempfile, "w"))) {
|
/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/File/ |
H A D | Temp.pm | 44 use File::Temp qw/ tempfile tempdir /; 47 ($fh, $filename) = tempfile( DIR => $dir ); 49 ($fh, $filename) = tempfile( $template, DIR => $dir); 50 ($fh, $filename) = tempfile( $template, SUFFIX => '.dat'); 52 $fh = tempfile(); 97 interface. The File::Temp constructor or the tempfile() function can 155 tempfile 226 # in most cases but not if tempfile is called with UNLINK=>0 and 263 # "mkdir"=> if true, we are creating a temp directory rather than tempfile 365 # or a tempfile 1112 sub tempfile { subroutine [all...] |
/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/Pod/Perldoc/ |
H A D | ToRtf.pm | 21 my($self, $tempfile, $perldoc) = @_; 26 $perldoc->aside( "About to launch <\"$rtf_pager\" \"$tempfile\">\n" ); 28 return 1 if system( qq{"$rtf_pager"}, qq{"$tempfile"} ) == 0;
|
/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/utils/ |
H A D | perlcc.PL | 54 use File::Temp qw(tempfile); 285 # Don't need to keep it, be safe with a tempfile. 287 ($cfh, $cfile) = tempfile("pccXXXXX", SUFFIX => ".c"); 492 (undef, $errname) = tempfile("pccXXXXX");
|
H A D | perlbug.PL | 967 my ($fh, $filename) = File::Temp::tempfile(UNLINK => 1);
|
/opensolaris-onvv-gate/usr/src/grub/grub-0.97/util/ |
H A D | grub-install.in | 45 # look for secure tempfile creation wrappers on this platform 46 if test -x /bin/tempfile; then 47 mklog="/bin/tempfile --prefix=grub" 48 mkimg="/bin/tempfile --prefix=grub"
|
/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/Pod/ |
H A D | Perldoc.pm | 1116 die "Can't make a tempfile!?"; 1474 return File::Temp::tempfile(UNLINK => 1);
|
/opensolaris-onvv-gate/usr/src/tools/scripts/ |
H A D | wsdiff.py | 73 import re, resource, select, shutil, signal, string, struct, sys, tempfile
|