To: snake AT phrozen DOT com Cc: djgpp AT delorie DOT com Subject: Re: Redefinition of functions ? Message-ID: <19980628.202113.7751.2.zixyer@juno.com> References: <359389BC DOT 2E02 AT phrozen DOT com> From: zixyer AT juno DOT com (Zixyer S Qwerty) Date: Sun, 28 Jun 1998 21:22:32 EDT Precedence: bulk On Fri, 26 Jun 1998 12:45:00 +0100 "J. Walker" writes: >I needed to rewrite bodies of some functions of standard c-library. >I was successful with redefinition of f.E. some stdio functions but I >needed to rewrite function 'textmode'(conio module) with my own and >got error message 'Multiple definition of function textmode'. I tried >to do the same with Borland C++ 3.1 and all was ok. What shall I do when >I need to redefine some functions from libc ?? Please help me. > > Thanx > > J.W. > To redefine a function, just #define textmode myfunc and make myfunc do whatever. _____________________________________________________________________ You don't need to buy Internet access to use free Internet e-mail. Get completely free e-mail from Juno at http://www.juno.com Or call Juno at (800) 654-JUNO [654-5866]