[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-glpk] Feature request - option to flush output
From: |
Andrew Makhorin |
Subject: |
Re: [Help-glpk] Feature request - option to flush output |
Date: |
Mon, 14 Sep 2009 22:28:49 +0400 |
>> The statement "if (c = '\n') fflush(stdout)" was added to the
>> internal routine xputc to provide "real-time" terminal output.
> = versus == aside, isn't this the wrong way to do it? You can already
> configure the buffering behaviour of a FILE* using setvbuf(); just say
> "setvbuf(stdout, (char*)0, _IOLBF, 0);".
In glpk all terminal output goes through xputc, so there is no need
to use setvbuf.
RE: [Help-glpk] Feature request - option to flush output, Hart, William E, 2009/09/14
RE: [Help-glpk] Feature request - option to flush output, Hart, William E, 2009/09/14
RE: [Help-glpk] Feature request - option to flush output, Hart, William E, 2009/09/14