From: "Alexei A. Frounze" Newsgroups: comp.os.msdos.djgpp Subject: Re: va_list args Date: Wed, 31 Jan 2001 16:55:48 -0500 Lines: 29 Message-ID: <95a1j2$ghi43$1@ID-57378.news.dfncis.de> References: <9593n9$4lb$1 AT snoopy DOT bndlg DOT de> <9598k2$nn0$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE> <959e3d$g51qv$1 AT ID-57378 DOT news DOT dfncis DOT de> <2110-Wed31Jan2001192902+0200-eliz AT is DOT elta DOT co DOT il> NNTP-Posting-Host: ip136.rochester6.ny.pub-ip.psi.net (38.26.84.136) X-Trace: fu-berlin.de 980978083 17352835 38.26.84.136 (16 [57378]) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com I don't remember why. Perhaps I wanted to made it all from scratch by myself. :) Good Luck -- Alexei A. Frounze alexfru [AT] chat [DOT] ru frounze [AT] ece [DOT] rochester [DOT] edu http://alexfru.chat.ru http://members.xoom.com/alexfru/ http://welcome.to/pmode/ "Eli Zaretskii" wrote in message news:2110-Wed31Jan2001192902+0200-eliz AT is DOT elta DOT co DOT il... > > From: "Alexei A. Frounze" > > Newsgroups: comp.os.msdos.djgpp > > Date: Wed, 31 Jan 2001 11:23:04 -0500 > > > > That's right. I do the following thing (skip irrelevant code and see prinf() > > implementation): > > Why did you need to reinvent printf? If you want the output to go to > some different location, such as the video memory, all you need to do > is replace two library functions: `putc' and `_flsbuf'. ALl the rest > can stay put.