www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/11/22/18:45:32

From: Erik Max Francis <max AT alcyone DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: stdout flushing after printf, SIGALRM signal and GNU Make
Date: Sat, 22 Nov 1997 14:15:21 -0800
Organization: Alcyone Systems
Lines: 19
Message-ID: <34775979.3EDD5FF1@alcyone.com>
References: <199711220501 DOT VAA16015 AT adit DOT ap DOT net>
NNTP-Posting-Host: newton.alcyone.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Nate Eldredge wrote:

> IMHO, this already exists: it's called `setvbuf'. :) If your program
> depended on line buffering (a bad idea anyway), or if you want full
> buffering for performance, it should be simple to insert the relevant
> `setvbuf' call at the top of `main'; certainly at least as simple as
> setting
> a flag.

Certainly if one's program depends on a certain buffer behavior, a call
to `setvbuf' should be made.

-- 
         Erik Max Francis, &tSftDotIotE / mailto:max AT alcyone DOT com
                       Alcyone Systems / http://www.alcyone.com/max/
  San Jose, California, United States / icbm://+37.20.07/-121.53.38
                                     \
   "Since when can wounded eyes see / If we weren't who we were"
                                   / Joi

- Raw text -


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