Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!sdd.hp.com!caen!uakari.primate.wisc.edu!pikes!mercury.cair.du.edu!diana.cair.du.edu!rwelch From: rwelch@diana.cair.du.edu (RANDY S WELCH) Newsgroups: comp.unix.programmer Subject: Re: how to put a program into .plan file Message-ID: <1990Sep27.060223.29844@mercury.cair.du.edu> Date: 27 Sep 90 06:02:23 GMT References: <1990Sep26.155456.1656@agate.berkeley.edu> Sender: news@mercury.cair.du.edu (netnews) Organization: University of Denver Lines: 17 In-Reply-To: labb-4ac@web-4b.berkeley.edu's message of 26 Sep 90 15:54:56 GMT In article <1990Sep26.155456.1656@agate.berkeley.edu> labb-4ac@web-4b.berkeley.edu (superMan (the web dweller)) writes: Pardon my ignorance, but how can you write a C program which checks the status of the file to see whether someone has opened it? Exactly what system call or library function do you use? Somewhat along the same lines, how can one tell if a file you have been reading has been mv'ed? -randy -- Randy Welch Mail to : ...!ncar!scicom!bldr!randy or rwelch@du.edu Boulder, CO VOICE : 303-442-6717 "Unfortunately, life contains an unavoidable element of unpredictability" -David Lynch "The Angriest Dog in the World"