Mail Archives: djgpp/1998/06/28/21:22:50
On Fri, 26 Jun 1998 12:45:00 +0100 "J. Walker" <snake AT phrozen DOT com>
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]
- Raw text -