Pádraig Brady <[EMAIL PROTECTED]> writes: > p. p.s. Note glibc changes the buffering automatically for stdout only like: > if (isatty(fileno(stdout)) setlinebuf(stdout) > Also it always leaves stdin buffered and stdout unbuffered. ^^^^^^ stderr
> p.p.s. setvbuf(stdin, (char*) NULL, _IOFBF, 12345) is not honoured, > which is fair enough as buf==NULL. > However 0 is returned indicating it was honoured? What do you mean with "not honoured"? The size may be ignored when buf is NULL. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." _______________________________________________ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils