Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!ames!ucbcad!ucbvax!CORY.BERKELEY.EDU!dillon From: dillon@CORY.BERKELEY.EDU.UUCP Newsgroups: comp.sys.amiga Subject: Re: Lock and FileLock Message-ID: <8704290422.AA27073@cory.Berkeley.EDU> Date: Wed, 29-Apr-87 00:22:07 EDT Article-I.D.: cory.8704290422.AA27073 Posted: Wed Apr 29 00:22:07 1987 Date-Received: Thu, 30-Apr-87 05:53:18 EDT Sender: daemon@ucbvax.BERKELEY.EDU Lines: 11 >In the include files supplied by Manx, functions such as Lock, DupLock, >CurrentDir are declared as returning pointers to struct Lock. However, >.. >functions to struct FileLock. Furthermore, when I try to look at the >field fd_Task of a lock, my system crashes. Can anyone explain this to They return pointers to a FileLock, which is a BPTR. Thus, you have to shift the address left by two before you can indirect through it to get at the structure. -Matt