Article View: comp.sys.amiga.tech
Article #12034Re: Patching dos.library
From: Eric Cotton
Date: Thu, 30 Mar 1989 21:51
Date: Thu, 30 Mar 1989 21:51
18 lines
1145 bytes
1145 bytes
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."
Technical Details
Message-ID:
<6462@cbmvax.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!apple!oliveb!amiga!cbmvax!ericReferences:
<6439@cbmvax.UUCP> <6587@etana.tut.fi>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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