434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
|
return \fBb\fR.
.TP
\fBfile tempdir\fR ?\fItemplate\fR?
'\" TIP #210
.VS "8.7, TIP 431"
Creates a temporary directory (guaranteed to be newly created and writable by
the current script) and returns its name. If \fItemplate\fR is given, it
specifies one of or both of the directory to contain the temporary directory,
and the base part of the directory name; it is considered to have the location
of the directory if there is a directory separator in the name, and the base
part is everything after the last directory separator (if non-empty).
The default containing directory is determined by system-specific operations,
and the default base name prefix is
.QW \fBtcl\fR .
.RS
.PP
The following output is typical and illustrative; the actual output will vary
between platforms:
.PP
.CS
|
|
>
|
|
|
|
|
|
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
|
return \fBb\fR.
.TP
\fBfile tempdir\fR ?\fItemplate\fR?
'\" TIP #210
.VS "8.7, TIP 431"
Creates a temporary directory (guaranteed to be newly created and writable by
the current script) and returns its name. If \fItemplate\fR is given, it
specifies one of or both of the existing directory (on a filesystem controlled
by the operating system) to contain the temporary directory, and the base part
of the directory name; it is considered to have the location of the directory
if there is a directory separator in the name, and the base part is everything
after the last directory separator (if non-empty). The default containing
directory is determined by system-specific operations, and the default base
name prefix is
.QW \fBtcl\fR .
.RS
.PP
The following output is typical and illustrative; the actual output will vary
between platforms:
.PP
.CS
|