This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: how can i use my own func in stdio.a?,such as printf


On Wed, Aug 27, 2003 at 10:09:37AM +0800, zhao mindong wrote:
>i want to use my own printf,but i must use the other function declared
>in stdio.h,there is always an error"previous defined",how can i solve
>the problem.

Either you define your printf exactly the same way it is declared in
stdio.h or you:

#define printf BLAH_printf
#include <stdio.h>
#undef printf

>another question,how can i build the cygwin1.dll?any reference or
>document here?

Check the FAQ.
--
Please use the resources at cygwin.com rather than sending personal email.
Special for spam email harvesters: send email to aaaspam@sourceware.org
and be permanently blocked from mailing lists at sources.redhat.com

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]