HP3000-L Archives

November 2001, Week 3

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Ken Hirsch <[log in to unmask]>
Reply To:
Ken Hirsch <[log in to unmask]>
Date:
Fri, 16 Nov 2001 09:56:00 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (33 lines)
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 *

ATOM RSS1 RSS2