Xref: news-dnh.mv.net comp.os.msdos.djgpp:946 Path: news-dnh.mv.net!mv!news.sprintlink.net!howland.reston.ans.net!ix.netcom.com!netcom.com!csus.edu!news.ucdavis.edu!wheel!elric From: elric AT wheel DOT dcn DOT davis DOT ca DOT us (Jeffrey Taylor) Newsgroups: comp.os.msdos.djgpp Subject: Re: DJGPP's stdout file Date: 17 Jul 1995 18:54:21 GMT Organization: Davis Community Network - Davis, California, USA Lines: 23 References: <3uaft8$c9o AT mikasa DOT iol DOT it> Nntp-Posting-Host: wheel.dcn.davis.ca.us To: djgpp AT sun DOT soe DOT clarkson DOT edu Dj-Gateway: from newsgroup comp.os.msdos.djgpp stdout is usually buffered, stderr is usually not. I looked in my copy of Standard C by Plauger & Brodie and didn't find anything on buffering. Dr. Brain (dr DOT brain AT iol DOT it) wrote: : I've got a problem porting BolrandC programs to DJGPP: if I don't : specify setbuf(stdout, NULL) in DJGPP I have a buffered output, that : can't be seen until the newline is printed... : How can I do to avoid the setbuf line in every program? : C ya : żDr.Brain? : e-mail: dr DOT brain AT iol DOT it (PGP Key available) : homepage: http://uptown.turnpike.net/D/dr.brain/lapo.htm -- ===================================== Jeff T "Blues with a feeling... =====================================