Searched refs:tempname (Results 1 - 11 of 11) sorted by relevance

/illumos-gate/usr/src/lib/libadm/common/
H A Dputdev.c220 * int rmnewdevtab(tempname)
221 * char *tempname
227 * tempname Name of the temporary file
234 rmnewdevtab(char *tempname) /* Filename of new device table */ argument
239 noerr = (unlink(tempname) == 0);
242 free(tempname);
249 * int mknewdevtab(tempname)
250 * char *tempname
255 * tempname Name of the temporary file
268 mknewdevtab(char *tempname) /* Pt argument
1024 char *tempname; local
1099 char *tempname; /* Name of temp file */ local
[all...]
H A Dputdgrp.c100 static int mknewdgrptab(char *tempname);
101 static int rmnewdgrptab(char *tempname);
191 * int rmnewdgrptab(tempname)
192 * char *tempname
198 * tempname Name of the temporary file
205 rmnewdgrptab(char *tempname) argument
211 noerr = (unlink(tempname) == 0);
212 free(tempname);
219 * int mknewdgrptab(tempname)
220 * char *tempname
239 mknewdgrptab(char *tempname) argument
[all...]
/illumos-gate/usr/src/cmd/mailx/
H A Dfio.c495 char tempname[STSIZ], *id; local
528 nstrcpy(tempname, STSIZ, "/tmp/mboxXXXXXX");
529 if ((tmpfd = mkstemp(tempname)) == -1) {
530 perror(tempname);
536 perror(tempname);
538 removefile(tempname);
547 if ((tbuf = fopen(tempname, "r")) == NULL) {
548 perror(tempname);
550 removefile(tempname);
554 removefile(tempname);
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dasppp2pppd1393 if ($tempname) {
1394 unlink($tempname) or
1395 die "Cannot remove temporary file $tempname: $!\n";
1474 undef $tempname;
1477 $tempname = tmpnam();
1478 } until sysopen(FH, $tempname, O_RDWR|O_CREAT|O_EXCL);
1479 next if !$tempname;
1482 system($PAGER, $tempname);
1483 unlink($tempname) ||
1485 undef $tempname;
[all...]
/illumos-gate/usr/src/cmd/bnu/
H A Duuxqt.c838 char file[MAXFULLNAME], tempname[NAMESIZE]; local
1036 gename(DATAPRE, sysout, 'O', tempname);
1038 tempname);
1055 gename(DATAPRE, syserr, 'E', tempname);
1057 WORKSPACE, tempname);
1211 gename(CMDPRE, sysout, dqueue, tempname);
1213 WORKSPACE, tempname);
1258 gename(CMDPRE, syserr, dqueue, tempname);
1260 WORKSPACE, tempname);
/illumos-gate/usr/src/cmd/compress/
H A Dcompress.c327 char tempname[MAXPATHLEN]; local
571 if (strlcpy(tempname, *fileptr,
572 sizeof (tempname)) >=
573 sizeof (tempname)) {
582 if (addDotZ(tempname,
583 sizeof (tempname)) < 0) {
588 *fileptr = tempname;
/illumos-gate/usr/src/cmd/vi/port/
H A Dex_temp.c47 static unsigned char tempname[PATH_MAX+1]; variable
91 CP(tempname, tfname);
498 CP(rfname, tempname);
/illumos-gate/usr/src/cmd/fs.d/ufs/fsck/
H A Ddir.c1338 * end of tempname until we come up with something that's not
1350 static char tempname[BUFSIZ]; local
1352 lftempname(tempname, inode);
1361 name = tempname;
/illumos-gate/usr/src/cmd/boot/bootadm/
H A Dbootadm.c3364 create_sparc_archive(char *archive, char *tempname, char *bootblk, char *list) argument
3381 tempname, list);
3399 bootblk, tempname);
3410 if (check_archive(tempname) == BAM_ERROR)
3413 return (do_archive_copy(tempname, archive));
3418 (void) unlink(tempname);
3481 extend_iso_archive(char *archive, char *tempname, char *update_dir) argument
3525 MKISO_PARAMS, tempname, update_dir);
3540 newfd = open(tempname, O_RDONLY);
3604 "seek=%d conv=sync 2>&1", DD_PATH_USR, tempname, archiv
3642 create_x86_archive(char *archive, char *tempname, char *update_dir) argument
[all...]
/illumos-gate/usr/src/cmd/tar/
H A Dtar.c3876 char tempname[NAMSIZ+1]; local
3940 (void) strlcpy(tempname, Xtarhdr.x_path,
3941 sizeof (tempname));
3943 (void) sprintf(tempname, "%.*s", NAMSIZ,
3954 "%s: insufficient privileges\n"), tempname);
3961 tempname);
/illumos-gate/usr/src/cmd/svc/svccfg/
H A Dsvccfg_libscf.c14379 char tempname[] = TEMP_FILE_PATTERN; local
14393 tmpfd = mkstemp(tempname);
14399 (void) strcpy(tempfilename, tempname);
14422 bufsz = strlen(editor) + 1 + strlen(tempname) + 1;
14425 if (snprintf(buf, bufsz, "%s %s", editor, tempname) < 0)
14438 (void) engine_source(tempname, est->sc_cmd_flags & SC_CMD_IACTIVE);

Completed in 120 milliseconds