cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1998/06/28/21:22:50

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

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019