Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!rutgers!ucla-cs!zen!ucbvax!mit-kermit.UUCP!krowitz From: krowitz@mit-kermit.UUCP (David Krowitz) Newsgroups: comp.sys.apollo Subject: IOS_$DELETE question ... Message-ID: <8708031813.AA11609@EDDIE.MIT.EDU> Date: Mon, 3-Aug-87 13:56:20 EDT Article-I.D.: EDDIE.8708031813.AA11609 Posted: Mon Aug 3 13:56:20 1987 Date-Received: Tue, 4-Aug-87 05:39:21 EDT Sender: daemon@ucbvax.BERKELEY.EDU Distribution: world Organization: The ARPA Internet Lines: 17 I've been poking around with IOS trying to write a section of code which delete a file after it has been processed. It seems that I must have the file open for write-access before calling IOS_$DELETE, but I can't always set write access since another process may have the file open for reading. Can anyone give me a pointer on how to implement a delete-when-unlocked feature similar to the -DU option of DLF? I've tried using IOS_$SET_OBJ_FLAG to set the delete-on-close flag, but that also seems to require that the file be opened for writing. -- David Krowitz mit-erl!mit-kermit!krowitz@eddie.mit.edu mit-erl!mit-kermit!krowitz@mit-eddie.arpa krowitz@mit-mc.arpa (in order of decreasing preference)