Subject: | |
From: | |
Reply To: | |
Date: | Fri, 16 Nov 2001 09:56:00 -0500 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
No. Or, at least, there's nothing automatic built into the kernel. If you
are going to use a file in just one _process_, you can delete it as soon as
you open it. It will go away when the process dies. This is of limited
usefulness since you can't pass it to another program in the same "job".
Often programmers will create all their temporary files in a specific
directory and/or with a specific name and then delete them all at the end of
the job.
Different systems have different conventions about temporary files. Some
have processes which run each night deleting files which start with "#" and
haven't been accessed in _n_ hours. Or they may delete files in a /tmp or
/var/tmp or /usr/tmp directory if they haven't been accessed in a while.
----- Original Message -----
From: "Shahan, Ray" <[log in to unmask]>
To: <[log in to unmask]>
Sent: Friday, November 16, 2001 9:49 AM
Subject: POSIX
> Is there such a thing as a TEMP file in POSIX/UNIX?
>
> * To join/leave the list, search archives, change list settings, *
> * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
>
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|
|
|