Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!sunic!spocm2!spocm1!spodv4!lca From: lca@spodv4.UUCP (Lars H Carlsson) Newsgroups: comp.sys.amiga Subject: Help needed on AmigaDos Locks Keywords: Lock,Help,AmigaDos Message-ID: <159@spodv4.UUCP> Date: 9 Jan 90 08:38:28 GMT Organization: Philips TDS, Stockholm, Sweden Lines: 19 Help! Could someone tell me if there is a way to find the Lock associated with the filehandle created by Open (or open, fopen etc.) ?? I would like to be able to do the following: FILE *fp = fopen ("any_file", "any_mode"); int lock = fp -> ... OR int lock = getlock (fileno(fp), ... Examine (lock, &... Any suggestions? (I'm using Lattice C 5.02 on a Amiga500 KickStart 1.3, WB 1.3) Lars H Carlsson (..!sunic!spocm2!spodv4!lca)