Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!apple!oliveb!amiga!cbmvax!eric From: eric@cbmvax.UUCP (Eric Cotton) Newsgroups: comp.sys.amiga.tech Subject: Re: Patching dos.library Message-ID: <6462@cbmvax.UUCP> Date: 30 Mar 89 21:51:56 GMT References: <6439@cbmvax.UUCP> <6587@etana.tut.fi> Reply-To: eric@cbmvax.UUCP (Eric Cotton) Organization: Commodore Technology, West Chester, PA Lines: 18 In article <6587@etana.tut.fi> pl@etana.tut.fi (Pertti Lehtinen) writes: > I look exec manual and realized that SetFunction > does not return anything. > > That seems strange, because I thought that it returns > address of old function. ( At least i've seen someone > using t that way) > > I wonder which is true. SetFunction does indeed return a pointer to the old function. oldFunc = SetFunction(library, funcOffset, funcEntry) -- Eric Cotton Commodore-Amiga (215) 431-9100 1200 Wilson Drive {uunet|pyramid|rutgers}!cbmvax!eric West Chester, PA 19380 "I don't find this stuff amusing anymore."