Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!seismo!allegra!dsf From: dsf@allegra.UUCP Newsgroups: comp.sys.amiga Subject: Lock and FileLock Message-ID: <6640@allegra.UUCP> Date: Tue, 28-Apr-87 12:54:53 EDT Article-I.D.: allegra.6640 Posted: Tue Apr 28 12:54:53 1987 Date-Received: Wed, 29-Apr-87 06:18:08 EDT Reply-To: dsf@allegra.UUCP (David Fox) Organization: AT&T Bell Laboratories, Murray Hill Lines: 13 In the include files supplied by Manx, functions such as Lock, DupLock, CurrentDir are declared as returning pointers to struct Lock. However, there is no struct Lock defined in the include files. Instead, most of the documentation (ALL of the documentation) casts the result of these 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 me? David Fox allegra!dsf P.S. By look at, I mean that if I execute the statement task = lock->fl_Task, my system crashes.