Re: Is there a Unix /tmp directory. How dissimilar are they.



In article <44CF86BA.FC55A952@xxxxxxxxxxxx>,
JF Mezei <jfmezei.spamnot@xxxxxxxxxxxx> writes:
Another aspect:

On VMS, there is the capacity of having "temporary" files. However, it
is not well known. You can specify, when you open a file, that the file
is to be deleted on closing.

Sigh.....

This is hardly unique to VMS. Unix has tmpfile(),
"The tmpfile() function returns a pointer to a stream associated
with a file descriptor returned by the routine mkstemp(3). The
created file is unlinked before tmpfile() returns, causing the
file to be automatically deleted when the last reference to it
is closed. "

It is part of the ISO/IEC 9899:1990 (``ISO C89'') standard. And, it
was even included in the Fortan77 Language Specification.

bill

--
Bill Gunshannon | de-moc-ra-cy (di mok' ra see) n. Three wolves
bill@xxxxxxxxxxxxxxx | and a sheep voting on what's for dinner.
University of Scranton |
Scranton, Pennsylvania | #include <std.disclaimer.h>
.



Relevant Pages

  • Re: Is there a Unix /tmp directory. How dissimilar are they.
    ... On VMS, there is the capacity of having "temporary" files. ... You can specify, when you open a file, that the file ... created file is unlinked before tmpfile() returns, ... but Unix probably did as well. ...
    (comp.os.vms)
  • Re: Request for DCL improvement (say)
    ... audible speech and either play it through the sound output device cho- ... Specify the text to speak on the command line. ... Specify the voice to be used. ... Oh, I forgot, they dropped all support for sound on VMS. ...
    (comp.os.vms)
  • Request for DCL improvement (say)
    ... audible speech and either play it through the sound output device cho- ... Specify the text to speak on the command line. ... Oh, I forgot, they dropped all support for sound on VMS. ...
    (comp.os.vms)
  • Re: How can I read a locked VMS file?
    ... Hein RMS van den Heuvel wrote: ... This is Alpha VMS V7.3-2, ... command file to specify that file for /input, ...
    (comp.os.vms)
  • Re: Installing VMS without a bootable CD-ROM drive
    ... sms@xxxxxxxxxxxx (Steven M. Schweda) wrote: ... used VMS), I had been trying to find it, it did not occur to me to ... specify my directory specification as I thought I had done a directory ... or else the installation will fail. ...
    (comp.os.vms)