Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!samsung!think!ames!attctc!jolnet!caw From: caw@jolnet.ORPK.IL.US (Chris Wichura) Newsgroups: comp.sys.amiga Subject: Re: Help needed on AmigaDos Locks Keywords: Lock,Help,AmigaDos Message-ID: <2754@jolnet.ORPK.IL.US> Date: 10 Jan 90 05:06:06 GMT References: <159@spodv4.UUCP> Reply-To: caw@jolnet.UUCP (Chris Wichura) Organization: Jolnet, Public Access Unix, Orland Park (Joliet), Ill. Lines: 16 Welp, if you use FILE then you have to know the structure that Lattice keeps the AmigaDOS filehandle for the Unix file you are working on. Once you know that you can look at the AmigaDOS filehandle struct and maybe get the lock out of it. I forget if struct FileHandle (or whatever) is considered private only, though... A much more useful function would be a way to open a file based on the lock you have instead of having to go though some crap like use ARP's PathName() command to build the filename off the lock so you could feed it to Open(). Does such a beast exist and I just haven't been able to find it is all? -- Christopher A. Wichura u12401 @ uicvm.uic.edu (my home account) caw @ jolnet.UUCP (my Usenet feed)